- All Superinterfaces:
- All Known Subinterfaces:
- All Known Implementing Classes:
public interface GraphListener extends ExtensionPoint
GraphListeners can be used in two different ways: either as an
Extension, which will have its
onNewHead(FlowNode)fired for every
FlowExecution, or by instantiation and being passed to
FlowExecution.addListener(GraphListener), in which case only events for that specific
FlowExecutionwill be fired.
Nested Class Summary
Nested Classes Modifier and Type Interface Description
GraphListener.SynchronousListener which should be notified of events immediately as they occur.
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
FlowExecutionshould batch up changes to a group and call this once, as opposed to call this for every new node added.
void onNewHead(FlowNode node)
FlowExecutionshould 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 of