CRITICAL_ERROR, ERROR, MINOR, WARNING| Constructor and Description |
|---|
DroppedOldPeersUserAlert(java.io.File droppedPeersFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PeerTooOldException e,
java.lang.String name) |
java.lang.String |
anchor() |
java.lang.String |
dismissButtonText() |
FCPMessage |
getFCPMessage() |
HTMLNode |
getHTMLText()
Content of alert (HTML).
|
short |
getPriorityClass()
Priority class
|
java.lang.String |
getShortText()
*Really* concise text of alert.
|
java.lang.String |
getText()
Content of alert (plain text).
|
java.lang.String |
getTitle()
Title of alert (must be short!).
|
long |
getUpdatedTime() |
boolean |
isEmpty() |
boolean |
isEventNotification() |
boolean |
isValid()
Is the alert valid right now? Suggested use is to synchronize on the
alert, then check this, then get the data.
|
void |
isValid(boolean validity) |
void |
onDismiss()
Method to be called upon alert dismissal
|
boolean |
shouldUnregisterOnDismiss() |
boolean |
userCanDismiss()
Can the user dismiss the alert?
If not, it persists until it is unregistered.
|
public DroppedOldPeersUserAlert(java.io.File droppedPeersFile)
public void add(PeerTooOldException e, java.lang.String name)
public boolean isEmpty()
public boolean userCanDismiss()
UserAlertuserCanDismiss in interface UserAlertpublic java.lang.String getTitle()
UserAlertpublic java.lang.String getText()
UserAlertpublic HTMLNode getHTMLText()
UserAlertgetHTMLText in interface UserAlertpublic java.lang.String getShortText()
UserAlertgetShortText in interface UserAlertpublic short getPriorityClass()
UserAlertgetPriorityClass in interface UserAlertpublic boolean isValid()
UserAlertpublic java.lang.String dismissButtonText()
dismissButtonText in interface UserAlertpublic boolean shouldUnregisterOnDismiss()
shouldUnregisterOnDismiss in interface UserAlertpublic void onDismiss()
UserAlertpublic java.lang.String anchor()
public boolean isEventNotification()
isEventNotification in interface UserAlertpublic FCPMessage getFCPMessage()
getFCPMessage in interface UserAlertpublic long getUpdatedTime()
getUpdatedTime in interface UserAlert