|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensor.xmldata.MessageDelegate
public class MessageDelegate
The class which is delegated to by options and the controller when displaying informative messages to the user. This class wraps the way information is displayed to allow the extension of messaging if the mutliple views are added to this sensor, which is currently command-line only.
Constructor Summary | |
---|---|
MessageDelegate(XmlDataController controller)
Constructs this delegate class with the specified controller. |
Method Summary | |
---|---|
void |
fireMessage(java.lang.String message)
Displays the specified message. |
void |
fireMessage(java.lang.String message,
java.lang.String verboseMessage)
Displays the specified message is verbose mode is disabled or the verbose message if verbose mode is enabled. |
void |
fireVerboseMessage(java.lang.String message)
Displays the specified message if verbose mode is enabled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageDelegate(XmlDataController controller)
controller
- the controller that delegates to this class.Method Detail |
---|
public void fireMessage(java.lang.String message)
message
- the specified message to display.public void fireVerboseMessage(java.lang.String message)
message
- the specified message to display.public void fireMessage(java.lang.String message, java.lang.String verboseMessage)
message
- the specified message.verboseMessage
- the specified verbose message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |