com.xebialabs.deployit.plugin.api.flow
Interface Step

All Superinterfaces:
java.io.Serializable

public interface Step
extends java.io.Serializable

A Step that can be executed for either Inspection or Deployment.


Field Summary
static int DEFAULT_ORDER
          The default step order.
 
Method Summary
 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.
 

Field Detail

DEFAULT_ORDER

static final int DEFAULT_ORDER
The default step order.

See Also:
Constant Field Values
Method Detail

getOrder

int getOrder()
The order of the step in the step list.

Returns:
the order.

getDescription

java.lang.String getDescription()
Returns a description of what this step will really do on execution.

Returns:
the description.

execute

StepExitCode execute(ExecutionContext ctx)
                     throws java.lang.Exception
Parameters:
ctx - Context info required to execute the step.
Returns:
exit code of the execution, successful, failed or paused.
Throws:
java.lang.Exception - Any type of exception can be thrown, this to prevent implementors of having to wrap any non-runtime exceptions.