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 via ExecutorStepDynamicContext.
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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.util.concurrent.ListenableFuture<Executor>
    rehydrate(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner)
    Deprecated.
     

    Methods inherited from class org.jenkinsci.plugins.workflow.pickles.Pickle

    rehydrate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • rehydrate

      public com.google.common.util.concurrent.ListenableFuture<Executor> rehydrate(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner)
      Deprecated.
      Overrides:
      rehydrate in class org.jenkinsci.plugins.workflow.pickles.Pickle