Interface DeltaSpecification
-
- All Superinterfaces:
java.io.Serializable
public interface DeltaSpecification extends java.io.Serializable
The specification of what should happen on the target environment in order to deploy thisDeployedApplication
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Delta>
getDeltas()
TheDelta
s that were calculated for this deploymentDeployedApplication
getDeployedApplication()
TheDeployedApplication
that is the subject of the current (un)deployment.Operation
getOperation()
The operation that is being executed on theDeployedApplication
.DeployedApplication
getPreviousDeployedApplication()
TheDeployedApplication
that is being replaced with this (un)deployment.boolean
isRollback()
Indicated whether this specification was calculated as a result of a rollback operation.
-
-
-
Method Detail
-
getOperation
Operation getOperation()
The operation that is being executed on theDeployedApplication
.- Returns:
- the operation
-
getPreviousDeployedApplication
DeployedApplication getPreviousDeployedApplication()
TheDeployedApplication
that is being replaced with this (un)deployment. Isnull
when this is an initial deployment.- Returns:
- the previous version of the DeployedApplication
-
getDeployedApplication
DeployedApplication getDeployedApplication()
TheDeployedApplication
that is the subject of the current (un)deployment. Note: From XL Deploy 4.0 onwards this will returnnull
when an undeployment is being planned, similar toDelta
.- Returns:
- the DeployedApplication
-
getDeltas
java.util.List<Delta> getDeltas()
TheDelta
s that were calculated for this deployment- Returns:
- the list of
Delta
-
isRollback
boolean isRollback()
Indicated whether this specification was calculated as a result of a rollback operation.- Returns:
true
if this specification is a rollback specification.
-
-