public class DeploymentPlanResultImpl extends Object implements DeploymentPlanResult
DeploymentPlanResult.| Constructor and Description |
|---|
DeploymentPlanResultImpl(DeploymentPlan plan,
InvalidDeploymentPlanException invalidPlanException) |
DeploymentPlanResultImpl(DeploymentPlan plan,
Map<UUID,DeploymentActionResult> results) |
| Modifier and Type | Method and Description |
|---|---|
Map<UUID,DeploymentActionResult> |
getDeploymentActionResults()
Gets the results of the
DeploymentActions 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 not
valid. |
Map<String,ServerGroupDeploymentPlanResult> |
getServerGroupResults()
Gets the results for each server group.
|
boolean |
isValid()
Gets whether the deployment plan was valid.
|
public DeploymentPlanResultImpl(DeploymentPlan plan, Map<UUID,DeploymentActionResult> results)
public DeploymentPlanResultImpl(DeploymentPlan plan, InvalidDeploymentPlanException invalidPlanException)
public Map<UUID,DeploymentActionResult> getDeploymentActionResults()
DeploymentPlanResultDeploymentActions associated with
the deployment set plan.getDeploymentActionResults in interface DeploymentPlanResultdeployment action idpublic UUID getId()
DeploymentPlanResultgetId in interface DeploymentPlanResultnullpublic DeploymentPlan getDeploymentPlan()
DeploymentPlanResultgetDeploymentPlan in interface DeploymentPlanResultnullpublic InvalidDeploymentPlanException getInvalidDeploymentPlanException()
DeploymentPlanResultvalid.getInvalidDeploymentPlanException in interface DeploymentPlanResultnull if the plan is validpublic boolean isValid()
DeploymentPlanResultfalse see
DeploymentPlanResult.getInvalidDeploymentPlanException() to for more information on
how the plan was invalid.isValid in interface DeploymentPlanResulttrue if the plan was valid; false otherwisepublic Map<String,ServerGroupDeploymentPlanResult> getServerGroupResults()
DeploymentPlanResultgetServerGroupResults in interface DeploymentPlanResultCopyright © 2018 JBoss by Red Hat. All rights reserved.