Interface GraphListener
- All Superinterfaces:
ExtensionPoint
- All Known Subinterfaces:
GraphListener.Synchronous
- All Known Implementing Classes:
StandardGraphLookupView
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 FlowExecution
will be fired.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceListener which should be notified of events immediately as they occur.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Method Summary
Modifier and TypeMethodDescriptionvoidFlowExecutionshould batch up changes to a group and call this once, as opposed to call this for every new node added.
-
Method Details
-
onNewHead
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 ofFlowExecution.
-