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  Edgeis added. | 
| void | edgePropertyChanged(Edge element,
                   Property oldValue,
                   Object setValue)Raised after the property of a  Edgechanged. | 
| void | edgePropertyRemoved(Edge element,
                   Property removedValue) | 
| void | edgeRemoved(Edge edge)Raised after an  Edgewas removed from the graph. | 
| String | toString() | 
| void | vertexAdded(Vertex vertex)Raised when a new  Vertexis added. | 
| void | vertexPropertyChanged(Vertex element,
                     Property oldValue,
                     Object setValue,
                     Object... vertexPropertyKeyValues)Raised after the property of a  Vertexchanged. | 
| void | vertexPropertyPropertyChanged(VertexProperty element,
                             Property oldValue,
                             Object setValue)Raised after the property of a  VertexPropertychanged. | 
| void | vertexPropertyPropertyRemoved(VertexProperty element,
                             Property oldValue)Raised after an  Propertyproperty was removed from aVertexProperty. | 
| void | vertexPropertyRemoved(VertexProperty vertexProperty)Raised after a  VertexPropertywas removed from the graph. | 
| void | vertexRemoved(Vertex vertex)Raised after a  Vertexwas removed from the graph. | 
public ConsoleMutationListener(Graph graph)
public void vertexAdded(Vertex vertex)
MutationListenerVertex is added.vertexAdded in interface MutationListenervertex - the Vertex that was addedpublic void vertexRemoved(Vertex vertex)
MutationListenerVertex was removed from the graph.vertexRemoved in interface MutationListenervertex - the Vertex that was removedpublic void vertexPropertyRemoved(VertexProperty vertexProperty)
MutationListenerVertexProperty was removed from the graph.vertexPropertyRemoved in interface MutationListenervertexProperty - the VertexProperty that was removedpublic void edgeAdded(Edge edge)
MutationListenerEdge is added.edgeAdded in interface MutationListeneredge - the Edge that was addedpublic void edgeRemoved(Edge edge)
MutationListenerEdge was removed from the graph.edgeRemoved in interface MutationListeneredge - the Edge that was removed.public void edgePropertyRemoved(Edge element, Property removedValue)
MutationListeneredgePropertyRemoved in interface MutationListenerremovedValue - the Property that was removedpublic void edgePropertyChanged(Edge element, Property oldValue, Object setValue)
MutationListenerEdge changed.edgePropertyChanged in interface MutationListenerelement - the Edge that changedsetValue - the new value of the propertypublic void vertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)
MutationListenerVertexProperty changed.vertexPropertyPropertyChanged in interface MutationListenerelement - the VertexProperty that changedsetValue - the new value of the propertypublic void vertexPropertyPropertyRemoved(VertexProperty element, Property oldValue)
MutationListenerProperty property was removed from a VertexProperty.vertexPropertyPropertyRemoved in interface MutationListeneroldValue - the Property that removedpublic void vertexPropertyChanged(Vertex element, Property oldValue, Object setValue, Object... vertexPropertyKeyValues)
MutationListenerVertex changed.vertexPropertyChanged in interface MutationListenerelement - the Vertex that changedsetValue - the new value of the propertyCopyright © 2013–2015 Apache Software Foundation. All rights reserved.