Class ExecutorPickle
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.pickles.Pickle
-
- org.jenkinsci.plugins.workflow.support.pickles.ExecutorPickle
-
- All Implemented Interfaces:
Serializable
@Deprecated public class ExecutorPickle extends org.jenkinsci.plugins.workflow.pickles.Pickle
Deprecated.Normally now done viaExecutorStepDynamicContext
.Persists anExecutor
as theQueue.Task
it was running. That task can in turn have some way of producing a display name, a specialQueue.Executable
with a customexecutorCell.jelly
, and so on. When rehydrated, the task is rescheduled, and when it starts executing the owning executor is produced. Typically theSubTask.getAssignedLabel()
should be aNode.getSelfLabel()
so that the rehydrated executor is in fact on the same node.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecutorPickle.Factory
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Executor>
rehydrate(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner)
Deprecated.
-
-
-
Method Detail
-
rehydrate
public com.google.common.util.concurrent.ListenableFuture<Executor> rehydrate(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner)
Deprecated.- Overrides:
rehydrate
in classorg.jenkinsci.plugins.workflow.pickles.Pickle
-
-