GraphLab Project

graphlab.library.event
Class MessageEvent

java.lang.Object
  extended by graphlab.library.event.MessageEvent
All Implemented Interfaces:
Event

public class MessageEvent
extends java.lang.Object
implements Event

Author:
Omid

Field Summary
 long durationShowTime
           
 boolean isNotification
           
 
Constructor Summary
MessageEvent(java.lang.String message)
           
MessageEvent(java.lang.String message, boolean notification, long durationShowTime)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getID()
           
 java.lang.String getMessage()
           
 void setMessage(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isNotification

public boolean isNotification

durationShowTime

public long durationShowTime
Constructor Detail

MessageEvent

public MessageEvent(java.lang.String message,
                    boolean notification,
                    long durationShowTime)

MessageEvent

public MessageEvent(java.lang.String message)
Method Detail

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

GraphLab Project