Interface DeploymentPlanResult
-
- All Known Implementing Classes:
DeploymentPlanResultImpl
public interface DeploymentPlanResult
Encapsulates 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 theDeploymentAction
s associated with the deployment set plan.DeploymentPlan
getDeploymentPlan()
Gets the deployment plan that lead to this result.UUID
getId()
Gets the unique id of the deployment plan.InvalidDeploymentPlanException
getInvalidDeploymentPlanException()
Gets the exception describing the problem with a deployment plan that is notvalid
.Map<String,ServerGroupDeploymentPlanResult>
getServerGroupResults()
Gets the results for each server group.boolean
isValid()
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. Iffalse
seegetInvalidDeploymentPlanException()
to for more information on how the plan was invalid.- Returns:
true
if the plan was valid;false
otherwise
-
getInvalidDeploymentPlanException
InvalidDeploymentPlanException getInvalidDeploymentPlanException()
Gets the exception describing the problem with a deployment plan that is notvalid
.- Returns:
- the exception or
null
if 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 theDeploymentAction
s associated with the deployment set plan.- Returns:
- map of deployment action results, keyed by
deployment action id
-
-