Interface DeploymentPlanResult
-
- All Known Implementing Classes:
DeploymentPlanResultImpl
public interface DeploymentPlanResultEncapsulates the results of executing aDeploymentPlan.- Author:
- Brian Stansberry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<UUID,DeploymentActionResult>getDeploymentActionResults()Gets the results of theDeploymentActions associated with the deployment set plan.DeploymentPlangetDeploymentPlan()Gets the deployment plan that lead to this result.UUIDgetId()Gets the unique id of the deployment plan.InvalidDeploymentPlanExceptiongetInvalidDeploymentPlanException()Gets the exception describing the problem with a deployment plan that is notvalid.Map<String,ServerGroupDeploymentPlanResult>getServerGroupResults()Gets the results for each server group.booleanisValid()Gets whether the deployment plan was valid.
-
-
-
Method Detail
-
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
-
-