graphlab.library.event
Class EdgeRequest<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>>
java.lang.Object
graphlab.library.event.EdgeRequest<VertexType,EdgeType>
- All Implemented Interfaces:
- Event
- Direct Known Subclasses:
- BaseEdgeRequest
public class EdgeRequest<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 |
graph
public final BaseGraph<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>> graph
EdgeRequest
public EdgeRequest(BaseGraph<VertexType,EdgeType> graph)
setEdge
public void setEdge(EdgeType edge)
- Parameters:
edge
- The edge to set.
getEdge
public EdgeType getEdge()
- Returns:
- Returns the edge.
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)