graphlab.library.event
Class MessageEvent
java.lang.Object
graphlab.library.event.MessageEvent
- All Implemented Interfaces:
- Event
public class MessageEvent
- extends java.lang.Object
- implements Event
- Author:
- Omid
Constructor Summary |
MessageEvent(java.lang.String message)
|
MessageEvent(java.lang.String message,
boolean notification,
long durationShowTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isNotification
public boolean isNotification
durationShowTime
public long durationShowTime
MessageEvent
public MessageEvent(java.lang.String message,
boolean notification,
long durationShowTime)
MessageEvent
public MessageEvent(java.lang.String message)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface Event
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage
in interface Event
- Returns:
- a message if the algorithm want to send any of them. this message will be loged and shown to the user
setMessage
public void setMessage(java.lang.String message)
getID
public java.lang.String getID()
- Specified by:
getID
in interface Event