Interface RemoveSubGraphListener
-
- All Superinterfaces:
Comparable<IdAble>
,IdAble
- All Known Subinterfaces:
RemoveDirectedSubGraphListener
- All Known Implementing Classes:
RemoveSubGraphListenerImpl
public interface RemoveSubGraphListener extends IdAble
A listener interface to be triggered whenever PLANit entities are removed from the network due to a sub graph being removed. Can be used by any exogenous party to receive a call back in case it relies on these removed entities- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCompletion()
callback after completing all subgraph removalsvoid
onRemoveSubGraphEdge(Edge edge)
callback whenever an edge is removed from a subgraph it is part ofvoid
onRemoveSubGraphVertex(Vertex vertex)
callback whenever a vertex is removed from a subgraph it is part of-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, deepClone, getId, idEquals, idHashCode, shallowClone
-
-
-
-
Method Detail
-
onRemoveSubGraphEdge
void onRemoveSubGraphEdge(Edge edge)
callback whenever an edge is removed from a subgraph it is part of- Parameters:
edge
- that is removed
-
onRemoveSubGraphVertex
void onRemoveSubGraphVertex(Vertex vertex)
callback whenever a vertex is removed from a subgraph it is part of- Parameters:
vertex
- that is removed
-
onCompletion
void onCompletion()
callback after completing all subgraph removals
-
-