public class StubGraphChangedListener extends Object implements GraphChangedListener
| Constructor and Description |
|---|
StubGraphChangedListener() |
| Modifier and Type | Method and Description |
|---|---|
long |
addEdgeEventRecorded() |
long |
addVertexEventRecorded() |
void |
edgeAdded(Edge edge)
Raised after a new edge is added.
|
void |
edgePropertyChanged(Edge edge,
String s,
Object o,
Object n)
Raised after the property of a edge changed.
|
long |
edgePropertyChangedEventRecorded() |
void |
edgePropertyRemoved(Edge edge,
String s,
Object o)
Raised after an edge property was removed.
|
long |
edgePropertyRemovedEventRecorded() |
void |
edgeRemoved(Edge edge,
Map<String,Object> props)
Raised after an edge was removed from the graph.
|
long |
edgeRemovedEventRecorded() |
List<String> |
getOrder() |
void |
reset() |
void |
vertexAdded(Vertex vertex)
Raised when a new Vertex is added.
|
void |
vertexPropertyChanged(Vertex vertex,
String s,
Object o,
Object n)
Raised after the property of a vertex changed.
|
long |
vertexPropertyChangedEventRecorded() |
void |
vertexPropertyRemoved(Vertex vertex,
String s,
Object o)
Raised after a vertex property was removed.
|
long |
vertexPropertyRemovedEventRecorded() |
void |
vertexRemoved(Vertex vertex,
Map<String,Object> props)
Raised after a vertex was removed from the graph.
|
long |
vertexRemovedEventRecorded() |
public void reset()
public void vertexAdded(Vertex vertex)
GraphChangedListenervertexAdded in interface GraphChangedListenervertex - the vertex that was addedpublic void vertexPropertyChanged(Vertex vertex, String s, Object o, Object n)
GraphChangedListenervertexPropertyChanged in interface GraphChangedListenervertex - the vertex that changeds - the key of the property that changedn - the new value of the propertypublic void vertexPropertyRemoved(Vertex vertex, String s, Object o)
GraphChangedListenervertexPropertyRemoved in interface GraphChangedListenervertex - the vertex that changeds - the key that was removedo - the value of the property that was removedpublic void vertexRemoved(Vertex vertex, Map<String,Object> props)
GraphChangedListenervertexRemoved in interface GraphChangedListenervertex - the vertex that was removedprops - the properties of the removed vertexpublic void edgeAdded(Edge edge)
GraphChangedListeneredgeAdded in interface GraphChangedListeneredge - the edge that was addedpublic void edgePropertyChanged(Edge edge, String s, Object o, Object n)
GraphChangedListeneredgePropertyChanged in interface GraphChangedListeneredge - the edge that changeds - the key of the property that changedn - the new value of the propertypublic void edgePropertyRemoved(Edge edge, String s, Object o)
GraphChangedListeneredgePropertyRemoved in interface GraphChangedListeneredge - the edge that changeds - the key that was removedo - the value of the property that was removedpublic void edgeRemoved(Edge edge, Map<String,Object> props)
GraphChangedListeneredgeRemoved in interface GraphChangedListeneredge - the edge that was removed.props - the properties of the removed vertexpublic long addEdgeEventRecorded()
public long addVertexEventRecorded()
public long vertexPropertyChangedEventRecorded()
public long vertexPropertyRemovedEventRecorded()
public long vertexRemovedEventRecorded()
public long edgePropertyChangedEventRecorded()
public long edgePropertyRemovedEventRecorded()
public long edgeRemovedEventRecorded()
Copyright © 2010-2014. All Rights Reserved.