public static class EventStrategyProcessTest.StubMutationListener extends Object implements MutationListener
Constructor and Description |
---|
StubMutationListener() |
Modifier and Type | Method and Description |
---|---|
long |
addEdgeEventRecorded() |
long |
addVertexEventRecorded() |
void |
edgeAdded(Edge edge)
Raised after a new
Edge is added. |
void |
edgePropertyChanged(Edge element,
Property oldValue,
Object setValue)
Raised after the property of a
Edge changed. |
long |
edgePropertyChangedEventRecorded() |
void |
edgePropertyRemoved(Edge element,
Property o)
|
long |
edgePropertyRemovedEventRecorded() |
void |
edgeRemoved(Edge edge)
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 element,
Property oldValue,
Object setValue,
Object... vertexPropertyKeyValues)
Raised after the property of a
Vertex changed. |
long |
vertexPropertyChangedEventRecorded() |
void |
vertexPropertyPropertyChanged(VertexProperty element,
Property oldValue,
Object setValue)
Raised after the property of a
VertexProperty changed. |
long |
vertexPropertyPropertyChangedEventRecorded() |
void |
vertexPropertyPropertyRemoved(VertexProperty element,
Property o)
Raised after an
Property property was removed from a VertexProperty . |
long |
vertexPropertyPropertyRemovedEventRecorded() |
void |
vertexPropertyRemoved(VertexProperty vertexProperty)
Raised after a
VertexProperty was removed from the graph. |
long |
vertexPropertyRemovedEventRecorded() |
void |
vertexRemoved(Vertex vertex)
Raised after a
Vertex was removed from the graph. |
long |
vertexRemovedEventRecorded() |
public void reset()
public void vertexAdded(Vertex vertex)
MutationListener
Vertex
is added.vertexAdded
in interface MutationListener
vertex
- the Vertex
that was addedpublic void vertexRemoved(Vertex vertex)
MutationListener
Vertex
was removed from the graph.vertexRemoved
in interface MutationListener
vertex
- the Vertex
that was removedpublic void edgeAdded(Edge edge)
MutationListener
Edge
is added.edgeAdded
in interface MutationListener
edge
- the Edge
that was addedpublic void edgePropertyRemoved(Edge element, Property o)
MutationListener
edgePropertyRemoved
in interface MutationListener
o
- the Property
that was removedpublic void vertexPropertyPropertyRemoved(VertexProperty element, Property o)
MutationListener
Property
property was removed from a VertexProperty
.vertexPropertyPropertyRemoved
in interface MutationListener
o
- the Property
that removedpublic void edgeRemoved(Edge edge)
MutationListener
Edge
was removed from the graph.edgeRemoved
in interface MutationListener
edge
- the Edge
that was removed.public void vertexPropertyRemoved(VertexProperty vertexProperty)
MutationListener
VertexProperty
was removed from the graph.vertexPropertyRemoved
in interface MutationListener
vertexProperty
- the VertexProperty
that was removedpublic void edgePropertyChanged(Edge element, Property oldValue, Object setValue)
MutationListener
Edge
changed.edgePropertyChanged
in interface MutationListener
element
- the Edge
that changedsetValue
- the new value of the propertypublic void vertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)
MutationListener
VertexProperty
changed.vertexPropertyPropertyChanged
in interface MutationListener
element
- the VertexProperty
that changedsetValue
- the new value of the propertypublic void vertexPropertyChanged(Vertex element, Property oldValue, Object setValue, Object... vertexPropertyKeyValues)
MutationListener
Vertex
changed.vertexPropertyChanged
in interface MutationListener
element
- the Vertex
that changedsetValue
- the new value of the propertypublic long addEdgeEventRecorded()
public long addVertexEventRecorded()
public long vertexRemovedEventRecorded()
public long edgeRemovedEventRecorded()
public long edgePropertyRemovedEventRecorded()
public long vertexPropertyRemovedEventRecorded()
public long vertexPropertyPropertyRemovedEventRecorded()
public long edgePropertyChangedEventRecorded()
public long vertexPropertyChangedEventRecorded()
public long vertexPropertyPropertyChangedEventRecorded()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.