public interface Step
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ORDER
The default step order.
|
Modifier and Type | Method and Description |
---|---|
StepExitCode |
execute(ExecutionContext ctx) |
java.lang.String |
getDescription()
Returns a description of what this step will really do on execution.
|
int |
getOrder()
The order of the step in the step list.
|
static final int DEFAULT_ORDER
int getOrder()
java.lang.String getDescription()
StepExitCode execute(ExecutionContext ctx) throws java.lang.Exception
ctx
- Context info required to execute the step.java.lang.Exception
- Any type of exception can be thrown,
this to prevent implementors of having to wrap any non-runtime exceptions.