CRITICAL_ERROR, ERROR, MINOR, WARNING
Constructor and Description |
---|
DiskSpaceUserAlert(NodeClientCore core) |
Modifier and Type | Method and Description |
---|---|
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 |
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 DiskSpaceUserAlert(NodeClientCore core)
public boolean userCanDismiss()
UserAlert
userCanDismiss
in interface UserAlert
public java.lang.String getTitle()
UserAlert
public java.lang.String getText()
UserAlert
public HTMLNode getHTMLText()
UserAlert
getHTMLText
in interface UserAlert
public java.lang.String getShortText()
UserAlert
getShortText
in interface UserAlert
public short getPriorityClass()
UserAlert
getPriorityClass
in interface UserAlert
public boolean isValid()
UserAlert
public java.lang.String dismissButtonText()
dismissButtonText
in interface UserAlert
public boolean shouldUnregisterOnDismiss()
shouldUnregisterOnDismiss
in interface UserAlert
public void onDismiss()
UserAlert
public java.lang.String anchor()
public boolean isEventNotification()
isEventNotification
in interface UserAlert
public FCPMessage getFCPMessage()
getFCPMessage
in interface UserAlert
public long getUpdatedTime()
getUpdatedTime
in interface UserAlert