-
-
-
-
- serialVersionUID:
- 1L
-
Serialization Methods
-
readResolve
protected Object readResolve()
-
class CpsStepContext extends org.jenkinsci.plugins.workflow.support.DefaultStepContext implements
Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
body
org.jenkinsci.plugins.workflow.cps.BodyReference body
While
CpsStepContext
has not received the response, maintains the body closure.
This is the implicit closure block passed to the step invocation.
-
bodyHeads
List<Integer> bodyHeads
FlowHead.getId()
that should become
the parents of the BlockEndNode
when we create one. Only used when this context has the body.
-
executionRef
org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner executionRef
-
id
String id
FlowNode.id
that points to the atom node created for this step.
-
stepDescriptorId
String stepDescriptorId
-
threadId
int threadId
-
- serialVersionUID:
- 1L
-
Serialized Fields
-
completionHandlers
List<com.google.common.util.concurrent.FutureCallback<Object>> completionHandlers
Gets called when the thread is done.
-
contextVariables
org.jenkinsci.plugins.workflow.cps.ContextVariableSet contextVariables
-
group
CpsThreadGroup group
-
head
org.jenkinsci.plugins.workflow.cps.FlowHead head
The head of the flow node graph that this thread is growing.
We create CpsThread
s liberally in CpsBodyExecution.launch(CpsBodyInvoker, CpsThread, FlowHead)
,
and so multiple CpsThread
s often share the same flow head.
-
id
int id
Unique ID of this thread among all the threads in the past or future under the same
CpsThreadGroup
.
This acts as a persistable handle for
CpsStepContext
to
refer back to the thread,
because they are persisted separately.
-
program
Continuable program
Represents the remaining computation.
-
resumeValue
Outcome resumeValue
The value that feeds into the next execution of
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)
-
step
org.jenkinsci.plugins.workflow.steps.StepExecution step
If this thread is waiting for a StepExecution
to complete (by invoking our callback),
this field is set to that execution.
-
- serialVersionUID:
- 1L
-
-
Serialized Fields
-
closures
Map<Integer,groovy.lang.Closure> closures
-
executionPaused
boolean executionPaused
Persistent version of CpsThreadGroup.paused
.
-
iota
int iota
Unique thread ID generator.
-
scripts
List<groovy.lang.Script> scripts
-
threads
Map<Integer,CpsThread> threads
Persistent version of CpsThreadGroup.runtimeThreads
.
-
class DSL extends groovy.lang.GroovyObjectSupport implements
Serializable
- serialVersionUID:
- 1L
-
class UninstantiatedDescribableWithInterpolation extends org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable implements
Serializable
- serialVersionUID:
- 1L
-
-
class LoadStepExecution extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl implements
Serializable
- serialVersionUID:
- 1L