public class ConsoleMutationListener extends Object implements MutationListener
Constructor and Description |
---|
ConsoleMutationListener(Graph graph) |
Modifier and Type | Method and Description |
---|---|
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. |
void |
edgePropertyRemoved(Edge element,
Property removedValue)
|
void |
edgeRemoved(Edge edge)
Raised after an
Edge was removed from the graph. |
String |
toString() |
void |
vertexAdded(Vertex vertex)
Raised when a new
Vertex is added. |
void |
vertexPropertyChanged(Vertex element,
VertexProperty oldValue,
Object setValue,
Object... vertexPropertyKeyValues)
Raised after the property of a
Vertex changed. |
void |
vertexPropertyPropertyChanged(VertexProperty element,
Property oldValue,
Object setValue)
Raised after the property of a
VertexProperty changed. |
void |
vertexPropertyPropertyRemoved(VertexProperty element,
Property oldValue)
Raised after an
Property property was removed from a VertexProperty . |
void |
vertexPropertyRemoved(VertexProperty vertexProperty)
Raised after a
VertexProperty was removed from the graph. |
void |
vertexRemoved(Vertex vertex)
Raised after a
Vertex was removed from the graph. |
public ConsoleMutationListener(Graph graph)
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 vertexPropertyRemoved(VertexProperty vertexProperty)
MutationListener
VertexProperty
was removed from the graph.vertexPropertyRemoved
in interface MutationListener
vertexProperty
- the VertexProperty
that was removedpublic void edgeAdded(Edge edge)
MutationListener
Edge
is added.edgeAdded
in interface MutationListener
edge
- the Edge
that was addedpublic void edgeRemoved(Edge edge)
MutationListener
Edge
was removed from the graph.edgeRemoved
in interface MutationListener
edge
- the Edge
that was removed.public void edgePropertyRemoved(Edge element, Property removedValue)
MutationListener
edgePropertyRemoved
in interface MutationListener
removedValue
- the Property
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 vertexPropertyPropertyRemoved(VertexProperty element, Property oldValue)
MutationListener
Property
property was removed from a VertexProperty
.vertexPropertyPropertyRemoved
in interface MutationListener
oldValue
- the Property
that removedpublic void vertexPropertyChanged(Vertex element, VertexProperty oldValue, Object setValue, Object... vertexPropertyKeyValues)
MutationListener
Vertex
changed.vertexPropertyChanged
in interface MutationListener
element
- the Vertex
that changedsetValue
- the new value of the propertyCopyright © 2013–2022 Apache Software Foundation. All rights reserved.