Class StepPostConstructContext
java.lang.Object
com.xebialabs.deployit.plugin.api.rules.StepPostConstructContext
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 Summary
ConstructorDescriptionStepPostConstructContext
(Scope scope, Object scopedObject, DeployedApplication deployedApplication, Repository repository) -
Method Summary
-
Constructor Details
-
StepPostConstructContext
public StepPostConstructContext(Scope scope, Object scopedObject, DeployedApplication deployedApplication, Repository repository)
-
-
Method Details
-
getScope
- Returns:
- scope where step will be executed.
-
getDelta
- Returns:
- delta or null if scope is not
Scope.DEPLOYED
-
getDeltas
- Returns:
- deltas or null if scope is not
Scope.PLAN
-
getSpecification
- Returns:
- specification or null if scope is not
Scope.PRE_PLAN
orScope.POST_PLAN
-
getDeployedApplication
- Returns:
- application that is being deployed
-
getRepository
- Returns:
- repository
-