Class StepPostConstructContext

java.lang.Object
com.xebialabs.deployit.plugin.api.rules.StepPostConstructContext

public class StepPostConstructContext extends Object
Context used for post constructing a Step. This way a step can receive additional information that can influence it's behavior. A method that is annotated with RulePostConstruct must accept a single argument of type StepPostConstructContext.
  • Constructor Details

  • Method Details

    • getScope

      public Scope getScope()
      Returns:
      scope where step will be executed.
    • getDelta

      public Delta getDelta()
      Returns:
      delta or null if scope is not Scope.DEPLOYED
    • getDeltas

      public Deltas getDeltas()
      Returns:
      deltas or null if scope is not Scope.PLAN
    • getSpecification

      public DeltaSpecification getSpecification()
      Returns:
      specification or null if scope is not Scope.PRE_PLAN or Scope.POST_PLAN
    • getDeployedApplication

      public DeployedApplication getDeployedApplication()
      Returns:
      application that is being deployed
    • getRepository

      public Repository getRepository()
      Returns:
      repository