Constructor and Description |
---|
ConditionalStep(java.util.function.Supplier<Boolean> shouldRunStep,
Step step) |
Modifier and Type | Method and Description |
---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
public ConditionalStep(java.util.function.Supplier<Boolean> shouldRunStep, Step step)
public 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