Class ExecutorPickle
java.lang.Object
org.jenkinsci.plugins.workflow.pickles.Pickle
org.jenkinsci.plugins.workflow.support.pickles.ExecutorPickle
- All Implemented Interfaces:
Serializable
Deprecated.
Persists an
Executor
as the Queue.Task
it was running.
That task can in turn have some way of producing a display name, a special Queue.Executable
with a custom executorCell.jelly
, and so on.
When rehydrated, the task is rescheduled, and when it starts executing the owning executor is produced.
Typically the SubTask.getAssignedLabel()
should be a Node.getSelfLabel()
so that the rehydrated executor is in fact on the same node.- See Also:
-
Nested Class Summary
-
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.pickles.Pickle
rehydrate
-
Method Details
-
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
-
ExecutorStepDynamicContext
.