Interface GraphListener
-
- All Superinterfaces:
ExtensionPoint
- All Known Subinterfaces:
GraphListener.Synchronous
- All Known Implementing Classes:
StandardGraphLookupView
public interface GraphListener extends ExtensionPoint
GraphListener
s can be used in two different ways: either as anExtension
, which will have itsonNewHead(FlowNode)
fired for everyFlowExecution
, or by instantiation and being passed toFlowExecution.addListener(GraphListener)
, in which case only events for that specificFlowExecution
will be fired.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
GraphListener.Synchronous
Listener which should be notified of events immediately as they occur.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onNewHead(FlowNode node)
FlowExecution
should batch up changes to a group and call this once, as opposed to call this for every new node added.
-
-
-
Method Detail
-
onNewHead
void onNewHead(FlowNode node)
FlowExecution
should batch up changes to a group and call this once, as opposed to call this for every new node added. One of the use cases of this listener is to persist the state ofFlowExecution
.
-
-