graphlab.library.event
Class PostWorkEvent<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>>
java.lang.Object
graphlab.library.event.PostWorkEvent<VertexType,EdgeType>
- All Implemented Interfaces:
- Event
public class PostWorkEvent<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>>
- extends java.lang.Object
- implements Event
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
from
public final VertexType extends BaseVertex from
to
public final VertexType extends BaseVertex to
graph
public final BaseGraph<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>> graph
PostWorkEvent
public PostWorkEvent(VertexType from,
VertexType to,
BaseGraph<VertexType,EdgeType> graph)
getID
public java.lang.String getID()
- Specified by:
getID
in interface Event
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)