public interface GraphListener extends ExtensionPoint
GraphListener
s 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.Modifier and Type | Interface and Description |
---|---|
static interface |
GraphListener.Synchronous
Listener which should be notified of events immediately as they occur.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Method and 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. |
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 of FlowExecution
.Copyright © 2016–2022. All rights reserved.