Interface Step

All Superinterfaces:
Serializable
All Known Subinterfaces:
PreviewStep, RetryableStep, SatelliteAware, StageableStep

public interface Step extends Serializable
A Step that can be executed for either Inspection or Deployment.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default step order.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns a description of what this step will really do on execution.
    int
    The order of the step in the step list.
    default boolean
    Returns whether a step can be skipped
  • Field Details

  • 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