Class DeploymentPlanResultImpl
java.lang.Object
org.jboss.as.controller.client.helpers.domain.impl.DeploymentPlanResultImpl
- All Implemented Interfaces:
DeploymentPlanResult
Default implementation of
DeploymentPlanResult.- Author:
- Brian Stansberry
-
Constructor Summary
ConstructorsConstructorDescriptionDeploymentPlanResultImpl(DeploymentPlan plan, Map<UUID, DeploymentActionResult> results) DeploymentPlanResultImpl(DeploymentPlan plan, InvalidDeploymentPlanException invalidPlanException) -
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.
-
Constructor Details
-
DeploymentPlanResultImpl
-
DeploymentPlanResultImpl
public DeploymentPlanResultImpl(DeploymentPlan plan, InvalidDeploymentPlanException invalidPlanException)
-
-
Method Details
-
getDeploymentActionResults
Description copied from interface:DeploymentPlanResultGets the results of theDeploymentActions associated with the deployment set plan.- Specified by:
getDeploymentActionResultsin interfaceDeploymentPlanResult- Returns:
- map of deployment action results, keyed by
deployment action id
-
getId
Description copied from interface:DeploymentPlanResultGets the unique id of the deployment plan.- Specified by:
getIdin interfaceDeploymentPlanResult- Returns:
- the id. Will not be
null
-
getDeploymentPlan
Description copied from interface:DeploymentPlanResultGets the deployment plan that lead to this result.- Specified by:
getDeploymentPlanin interfaceDeploymentPlanResult- Returns:
- the deployment plan. Will not be
null
-
getInvalidDeploymentPlanException
Description copied from interface:DeploymentPlanResultGets the exception describing the problem with a deployment plan that is notvalid.- Specified by:
getInvalidDeploymentPlanExceptionin interfaceDeploymentPlanResult- Returns:
- the exception or
nullif the plan is valid
-
isValid
public boolean isValid()Description copied from interface:DeploymentPlanResultGets whether the deployment plan was valid. IffalseseeDeploymentPlanResult.getInvalidDeploymentPlanException()to for more information on how the plan was invalid.- Specified by:
isValidin interfaceDeploymentPlanResult- Returns:
trueif the plan was valid;falseotherwise
-
getServerGroupResults
Description copied from interface:DeploymentPlanResultGets the results for each server group.- Specified by:
getServerGroupResultsin interfaceDeploymentPlanResult- Returns:
- map of server group results, keyed by server group name
-