graphlab.library.event
Class GraphRequest<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>>
java.lang.Object
graphlab.library.event.GraphRequest<VertexType,EdgeType>
- All Implemented Interfaces:
- Event
- Direct Known Subclasses:
- BaseGraphRequest
public class GraphRequest<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>>
- extends java.lang.Object
- implements Event
- Author:
- Omid
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphRequest
public GraphRequest()
setGraph
public void setGraph(BaseGraph<VertexType,EdgeType> graph)
- Parameters:
graph
- The graph to set.
getGraph
public BaseGraph<VertexType,EdgeType> getGraph()
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)