Package it.dockins.dockerslaves.pipeline
Class DockerNodeStepExecution
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
it.dockins.dockerslaves.pipeline.DockerNodeStepExecution
- All Implemented Interfaces:
Serializable
public class DockerNodeStepExecution
extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
This class is heavily based (so to speak...) on org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution
The original code cannot be easily extended, PlaceholderTask constructor is private for example.
As much as we hate copy / pasting, as an experimental implementation, we feel that it is still interesting
to test the approach.
See https://github.com/jenkinsci/workflow-durable-task-step-plugin/pull/15 for a discussion about that.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final class -
Constructor Summary
Constructors -
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
-
Constructor Details
-
DockerNodeStepExecution
public DockerNodeStepExecution()
-
-
Method Details
-
start
- Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.StepExecution- Throws:
Exception
-
stop
- Overrides:
stopin classorg.jenkinsci.plugins.workflow.steps.StepExecution
-
onResume
public void onResume()- Overrides:
onResumein classorg.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
getStatus
- Overrides:
getStatusin classorg.jenkinsci.plugins.workflow.steps.StepExecution
-