com.xebialabs.deployit.plugin.api.execution
Interface Step<C extends ExecutionContext>
- Type Parameters:
C - The type of ExecutionContext
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- DeploymentStep, InspectionStep
public interface Step<C extends ExecutionContext>
- extends java.io.Serializable
A Step that can be executed for either Inspection or Deployment.
getDescription
java.lang.String getDescription()
- Returns a description of what this step will really do on execution.
- Returns:
- the description.
execute
Step.Result execute(C ctx)
throws java.lang.Exception
- Parameters:
ctx - Context info required to execute the step.
- Returns:
- result of the execution, successful, failed or warning
- Throws:
java.lang.Exception - Any type of exception can be thrown,
this to prevent implementors of having to wrap any non-runtime exceptions.