Interface DeploymentPlanResult
- All Known Implementing Classes:
DeploymentPlanResultImpl
public interface DeploymentPlanResult
Encapsulates the results of executing a
DeploymentPlan.- Author:
- Brian Stansberry
-
Method Summary
Modifier and TypeMethodDescriptionGets the results of theDeploymentActions associated with the deployment set plan.Gets the deployment plan that lead to this result.getId()Gets the unique id of the deployment plan.Gets the exception describing the problem with a deployment plan that is notvalid.Gets the results for each server group.booleanisValid()Gets whether the deployment plan was valid.
-
Method Details
-
getId
UUID getId()Gets the unique id of the deployment plan.- Returns:
- the id. Will not be
null
-
getDeploymentPlan
DeploymentPlan getDeploymentPlan()Gets the deployment plan that lead to this result.- Returns:
- the deployment plan. Will not be
null
-
isValid
boolean isValid()Gets whether the deployment plan was valid. IffalseseegetInvalidDeploymentPlanException()to for more information on how the plan was invalid.- Returns:
trueif the plan was valid;falseotherwise
-
getInvalidDeploymentPlanException
InvalidDeploymentPlanException getInvalidDeploymentPlanException()Gets the exception describing the problem with a deployment plan that is notvalid.- Returns:
- the exception or
nullif the plan is valid
-
getServerGroupResults
Map<String,ServerGroupDeploymentPlanResult> getServerGroupResults()Gets the results for each server group.- Returns:
- map of server group results, keyed by server group name
-
getDeploymentActionResults
Map<UUID,DeploymentActionResult> getDeploymentActionResults()Gets the results of theDeploymentActions associated with the deployment set plan.- Returns:
- map of deployment action results, keyed by
deployment action id
-