Uses of Class
org.jenkinsci.plugins.workflow.flow.FlowExecution
Package
Description
Provides a library of methods to work with and analyze the graph of
FlowNode
s produced from a pipeline execution.-
Uses of FlowExecution in org.jenkinsci.plugins.workflow.actions
Modifier and TypeMethodDescriptionstatic FlowNode
ErrorAction.findOrigin
(Throwable error, FlowExecution execution) Attempts to locate the first node of a build which threw an error. -
Uses of FlowExecution in org.jenkinsci.plugins.workflow.flow
Modifier and TypeMethodDescriptionFlowDefinition.create
(FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions) Starts a brand new execution of this definition from the beginning.FlowDefinition.create
(FlowExecutionOwner handle, List<? extends Action> actions) Deprecated.abstract FlowExecution
FlowExecutionOwner.get()
FlowExecutionOwner.getOrNull()
Same asFlowExecutionOwner.get()
but avoids throwing an exception or blocking.Modifier and TypeMethodDescriptionFlowExecutionList.iterator()
Lists all the currentFlowExecutionOwner
s.Modifier and TypeMethodDescriptionstatic void
FlowExecutionListener.fireCompleted
(FlowExecution execution) Fires theFlowExecutionListener.onCompleted(FlowExecution)
event.static void
FlowExecutionListener.fireCreated
(FlowExecution execution) Fires theFlowExecutionListener.onCreated(FlowExecution)
event.static void
FlowExecutionListener.fireResumed
(FlowExecution execution) Fires theFlowExecutionListener.onResumed(FlowExecution)
event.static void
FlowExecutionListener.fireRunning
(FlowExecution execution) Fires theFlowExecutionListener.onRunning(FlowExecution)
event.void
FlowExecutionListener.onCompleted
(FlowExecution execution) Called when aFlowExecution
has completed.void
FlowExecutionListener.onCreated
(FlowExecution execution) Called when aFlowExecution
has been created, but before it starts running.void
FlowExecutionList.ResumeStepExecutionListener.onResumed
(FlowExecution e) void
FlowExecutionListener.onResumed
(FlowExecution execution) Called when aFlowExecution
has resumed.void
FlowExecutionListener.onRunning
(FlowExecution execution) Called when aFlowExecution
has started running. -
Uses of FlowExecution in org.jenkinsci.plugins.workflow.graph
ModifierConstructorDescriptionprotected
AtomNode
(FlowExecution exec, String id, FlowNode... parents) BlockEndNode
(FlowExecution exec, String id, START start, List<FlowNode> parents) BlockEndNode
(FlowExecution exec, String id, START start, FlowNode... parents) protected
BlockStartNode
(FlowExecution exec, String id, List<FlowNode> parents) protected
BlockStartNode
(FlowExecution exec, String id, FlowNode... parents) FlowEndNode
(FlowExecution exec, String id, FlowStartNode start, Result result, FlowNode... parents) FlowGraphWalker
(FlowExecution exec) protected
FlowNode
(FlowExecution exec, String id, List<FlowNode> parents) protected
FlowNode
(FlowExecution exec, String id, FlowNode... parents) FlowStartNode
(FlowExecution exec, String id) ForkNode
(FlowExecution storage, String id, FlowNode... parents) Deprecated.Deprecated. -
Uses of FlowExecution in org.jenkinsci.plugins.workflow.graphanalysis
Modifier and TypeMethodDescriptionAbstractFlowScanner.allNodes
(FlowExecution exec) Convenience method to get the list of allFlowNode
s for the execution, in iterator order.AbstractFlowScanner.filteredNodes
(FlowExecution exec, com.google.common.base.Predicate<FlowNode> matchPredicate) AbstractFlowScanner.findFirstMatch
(FlowExecution exec, com.google.common.base.Predicate<FlowNode> matchPredicate) Syntactic sugar forAbstractFlowScanner.findFirstMatch(Collection, Collection, Predicate)
usinggetCurrentHeads()
to get heads and no denyListLinearScanner.findFirstMatch
(FlowExecution exec, com.google.common.base.Predicate<FlowNode> matchPredicate) Deprecated.unsafe to call