protected Object readResolve()
org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner executionRef
CpsFlowExecution
and DSL
, so it needs to use a handle to refer back to CpsFlowExecution
String id
FlowNode.id
that points to the atom node created for this step.List<E> bodyHeads
FlowHead.getId()
that should become
the parents of the BlockEndNode
when we create one. Only used when this context has the body.org.jenkinsci.plugins.workflow.cps.BodyReference body
CpsStepContext
has not received teh response, maintains the body closure.
This is the implicit closure block passed to the step invocation.int threadId
String stepDescriptorId
CpsThreadGroup group
CpsThreadGroup
int id
CpsThreadGroup
.
This acts as a persistable handle for CpsStepContext
to
refer back to the thread,
because they are persisted separately.com.cloudbees.groovy.cps.Continuable program
com.cloudbees.groovy.cps.Outcome resumeValue
CpsThread.program
. Even though this is an input
from this class' point of view, it's typed as Outcome
because from the CPS-transformed
program's point of view, this value acts as a return value (or an exception thrown)
from Continuable.suspend(Object)
org.jenkinsci.plugins.workflow.cps.FlowHead head
org.jenkinsci.plugins.workflow.cps.ContextVariableSet contextVariables
org.jenkinsci.plugins.workflow.steps.StepExecution step
StepExecution
to complete (by invoking our callback),
this field is set to that execution.List<E> completionHandlers
private Object readResolve()
NavigableMap<K,V> threads
CpsThread.id
.
All mutation occurs only on the CPS VM thread. Read access through CpsStepContext.doGet(java.lang.Class<T>)
and iteration through CpsThreadDump.from(CpsThreadGroup)
may occur on other threads
(e.g. non-blocking steps, thread dumps from the UI).int iota
AtomicBoolean paused
This doesn't necessarily mean the CPS VM has responded and suspended the execution.
For that you need to do scheduleRun().get()
.
This state is intended for a use by humans to put the state of workflow execution on hold (for example while inspecting a suspicious state or to perform a maintenance when a failure is predictable.)
Map<K,V> closures
CpsStepContext
s.List<E> scripts
protected Object readResolve() throws IOException
IOException
org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle
Copyright © 2016–2020. All rights reserved.