public class StepPostConstructContext
extends java.lang.Object
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 and Description |
---|
StepPostConstructContext(Scope scope,
java.lang.Object scopedObject,
DeployedApplication deployedApplication,
Repository repository) |
Modifier and Type | Method and Description |
---|---|
Delta |
getDelta() |
Deltas |
getDeltas() |
DeployedApplication |
getDeployedApplication() |
Repository |
getRepository() |
Scope |
getScope() |
DeltaSpecification |
getSpecification() |
public StepPostConstructContext(Scope scope, java.lang.Object scopedObject, DeployedApplication deployedApplication, Repository repository)
public Scope getScope()
public Delta getDelta()
Scope.DEPLOYED
public Deltas getDeltas()
Scope.PLAN
public DeltaSpecification getSpecification()
Scope.PRE_PLAN
or Scope.POST_PLAN
public DeployedApplication getDeployedApplication()
public Repository getRepository()