public abstract class AbstractExecutionStep extends Object implements Step
Step
that takes the description as a constructor parameter and
requires only the implementation of execute(ExecutionContext)
. This facilitates the
creation of an anonymous implementation of Step
.Constructor and Description |
---|
AbstractExecutionStep(String description) |
Modifier and Type | Method and Description |
---|---|
abstract StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
public AbstractExecutionStep(String description)
public abstract StepExecutionResult execute(ExecutionContext context) throws IOException, InterruptedException
execute
in interface Step
IOException
InterruptedException
public String getShortName()
getShortName
in interface Step
public String getDescription(ExecutionContext context)
getDescription
in interface Step