public class DownloadFeedUserAlert extends AbstractUserAlert
valid
CRITICAL_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, userCanDismiss
public DownloadFeedUserAlert(DarknetPeerNode sourcePeerNode, java.lang.String description, int fileNumber, FreenetURI uri, long composed, long sent, long received)
public java.lang.String getTitle()
AbstractUserAlert
getTitle
in interface UserAlert
getTitle
in class AbstractUserAlert
public java.lang.String getText()
AbstractUserAlert
getText
in interface UserAlert
getText
in class AbstractUserAlert
public java.lang.String getShortText()
UserAlert
getShortText
in interface UserAlert
getShortText
in class AbstractUserAlert
public HTMLNode getHTMLText()
AbstractUserAlert
getHTMLText
in interface UserAlert
getHTMLText
in class AbstractUserAlert
public java.lang.String dismissButtonText()
AbstractUserAlert
dismissButtonText
in interface UserAlert
dismissButtonText
in class AbstractUserAlert
public void onDismiss()
AbstractUserAlert
onDismiss
in interface UserAlert
onDismiss
in class AbstractUserAlert
public FCPMessage getFCPMessage()
getFCPMessage
in interface UserAlert
getFCPMessage
in class AbstractUserAlert
public boolean isValid()
AbstractUserAlert
isValid
in interface UserAlert
isValid
in class AbstractUserAlert