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 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