| java.lang.Object org.sakaiproject.cheftool.AlertImpl
Method Summary | |
public void | add(String alert) Add a new alert line. | public void | clear() Remove any messages in the Alert. | public String | getAlert() Access the alert message. | public boolean | isEmpty() Check to see if the alert is empty, or has been populated. | public String | peekAlert() Access the alert message, but unlike getAlert(), do not clear the message. |
add | public void add(String alert)(Code) | | Add a new alert line. A line separator will be appended as needed.
Parameters: alert - The alert message to add. |
clear | public void clear()(Code) | | Remove any messages in the Alert.
|
getAlert | public String getAlert()(Code) | | Access the alert message. Once accessed, the message is cleared.
The alert message. |
isEmpty | public boolean isEmpty()(Code) | | Check to see if the alert is empty, or has been populated.
true of the alert is empty, false if there have been alerts set. |
peekAlert | public String peekAlert()(Code) | | Access the alert message, but unlike getAlert(), do not clear the message.
The alert message. |
|
|