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
DeploymentAction 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 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()
DeploymentPlanResult
DeploymentAction
s associated with
the deployment set plan.getDeploymentActionResults
in interface DeploymentPlanResult
deployment action id
public UUID getId()
DeploymentPlanResult
getId
in interface DeploymentPlanResult
null
public DeploymentPlan getDeploymentPlan()
DeploymentPlanResult
getDeploymentPlan
in interface DeploymentPlanResult
null
public InvalidDeploymentPlanException getInvalidDeploymentPlanException()
DeploymentPlanResult
valid
.getInvalidDeploymentPlanException
in interface DeploymentPlanResult
null
if the plan is validpublic boolean isValid()
DeploymentPlanResult
false
see
DeploymentPlanResult.getInvalidDeploymentPlanException()
to for more information on
how the plan was invalid.isValid
in interface DeploymentPlanResult
true
if the plan was valid; false
otherwisepublic Map<String,ServerGroupDeploymentPlanResult> getServerGroupResults()
DeploymentPlanResult
getServerGroupResults
in interface DeploymentPlanResult
Copyright © 2018 JBoss by Red Hat. All rights reserved.