- Direct Known Subclasses:
public abstract class Step extends AbstractDescribableImpl<Step> implements ExtensionPointOne thing that can be done, perhaps asynchronously. A
Stepis merely the definition of how this task is configured;
StepExecutionrepresents any state associated with one actual run of it.
Describableto support UI-based instantiation. Your step should have a
config.jellyallowing a user to configure its properties, and may have a
doEtcmethods on the
StepDescriptorfor form validation, completion, and so on. It should have a
DataBoundConstructorspecifying mandatory properties. It may also use
DataBoundSetterfor optional properties. All properties also need public getters (or to be public fields) for data binding to work.
Constructors Constructor Description
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description
start(StepContext context)Start execution of something and report the end result back to the given callback.
public abstract StepExecution start(StepContext context) throws ExceptionStart execution of something and report the end result back to the given callback. Arguments are passed when instantiating steps.
- true if the execution of this step has synchronously completed before this method returns.
It is the callee's responsibility to set the return value via
FutureCallback.onFailure(Throwable). false if the asynchronous execution has started and that
StepContextwill be notified when the result comes in. (Note that the nature of asynchrony is such that it is possible for the
StepContextto be already notified before this method returns.)
Exception- if any exception is thrown,
Stepis assumed to have completed abnormally synchronously (as if
FutureCallback.onFailure(java.lang.Throwable)is called and the method returned true.)