Class ExecutorStepExecution
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution
- All Implemented Interfaces:
Serializable
public class ExecutorStepExecution
extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLooks for executions whosegetStatus()would be neither running nor scheduled, and cancels them.static classstatic final classstatic final classstatic final classstatic final classstatic final classstatic class -
Field Summary
Fields -
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
injectMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution
acceptAll, acceptAll, applyAll, applyAll, blocksRestart, getContext, getStatusBounded
-
Field Details
-
TIMEOUT_WAITING_FOR_NODE_MILLIS
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static long TIMEOUT_WAITING_FOR_NODE_MILLIS
-
-
Method Details
-
start
General strategy of this step. 1. scheduleExecutorStepExecution.PlaceholderTaskinto theQueue(what this method does) 2. whenExecutorStepExecution.PlaceholderTaskstarts running, invoke the closure 3. when the closure is done, letExecutorStepExecution.PlaceholderTaskcomplete- Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.StepExecution- Throws:
Exception
-
stop
- Overrides:
stopin classorg.jenkinsci.plugins.workflow.steps.StepExecution- Throws:
Exception
-
onResume
public void onResume()- Overrides:
onResumein classorg.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
getStatus
- Overrides:
getStatusin classorg.jenkinsci.plugins.workflow.steps.StepExecution
-