Interface Step
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
PreviewStep
,RetryableStep
,SatelliteAware
,StageableStep
A Step that can be executed for either Inspection or Deployment.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(ExecutionContext ctx) Returns a description of what this step will really do on execution.int
getOrder()
The order of the step in the step list.default boolean
Returns whether a step can be skipped
-
Field Details
-
DEFAULT_ORDER
static final int DEFAULT_ORDERThe default step order.- See Also:
-
-
Method Details
-
getOrder
int getOrder()The order of the step in the step list.- Returns:
- the order.
-
getDescription
String getDescription()Returns a description of what this step will really do on execution.- Returns:
- the description.
-
execute
- Parameters:
ctx
- Context info required to execute the step.- Returns:
- exit code of the execution, successful, failed or paused.
- Throws:
Exception
- Any type of exception can be thrown, this to prevent implementors of having to wrap any non-runtime exceptions.
-
skippable
default boolean skippable()Returns whether a step can be skipped- Returns:
- boolean
-