public class DownloadFeedUserAlert extends AbstractUserAlert
validCRITICAL_ERROR, ERROR, MINOR, WARNING| Constructor and Description |
|---|
DownloadFeedUserAlert(DarknetPeerNode sourcePeerNode,
java.lang.String description,
int fileNumber,
FreenetURI uri,
long composed,
long sent,
long received) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
dismissButtonText() |
FCPMessage |
getFCPMessage() |
HTMLNode |
getHTMLText()
Content of alert (HTML).
|
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!).
|
boolean |
isValid()
Is the alert valid right now? Suggested use is to synchronize on the
alert, then check this, then get the data.
|
void |
onDismiss()
Method to be called upon alert dismissal
|
anchor, getPriorityClass, getUpdatedTime, isEvent, isEventNotification, isValid, shouldUnregisterOnDismiss, userCanDismisspublic DownloadFeedUserAlert(DarknetPeerNode sourcePeerNode, java.lang.String description, int fileNumber, FreenetURI uri, long composed, long sent, long received)
public java.lang.String getTitle()
AbstractUserAlertgetTitle in interface UserAlertgetTitle in class AbstractUserAlertpublic java.lang.String getText()
AbstractUserAlertgetText in interface UserAlertgetText in class AbstractUserAlertpublic java.lang.String getShortText()
UserAlertgetShortText in interface UserAlertgetShortText in class AbstractUserAlertpublic HTMLNode getHTMLText()
AbstractUserAlertgetHTMLText in interface UserAlertgetHTMLText in class AbstractUserAlertpublic java.lang.String dismissButtonText()
AbstractUserAlertdismissButtonText in interface UserAlertdismissButtonText in class AbstractUserAlertpublic void onDismiss()
AbstractUserAlertonDismiss in interface UserAlertonDismiss in class AbstractUserAlertpublic FCPMessage getFCPMessage()
getFCPMessage in interface UserAlertgetFCPMessage in class AbstractUserAlertpublic boolean isValid()
AbstractUserAlertisValid in interface UserAlertisValid in class AbstractUserAlert