UndeployDeploymentPlanBuilderImpl(DeploymentPlanBuilderImpl existing, DeploymentSetPlanImpl setPlan) { super(existing, setPlan); DeploymentAction modification = setPlan.getLastAction(); if (modification.getType() != DeploymentAction.Type.UNDEPLOY) { throw ControllerClientLogger.ROOT_LOGGER.invalidActionType(modification.getType()); } this.undeployModification = modification; }
UndeployDeploymentPlanBuilderImpl(DeploymentPlanBuilderImpl existing, DeploymentSetPlanImpl setPlan) { super(existing, setPlan); DeploymentAction modification = setPlan.getLastAction(); if (modification.getType() != DeploymentAction.Type.UNDEPLOY) { throw MESSAGES.invalidActionType(modification.getType()); } this.undeployModification = modification; }