private final DeploymentAction undeployModification;
UndeployDeploymentPlanBuilderImpl(DeploymentPlanBuilderImpl existing, DeploymentSetPlanImpl setPlan) {
super(existing, setPlan);
DeploymentAction modification = setPlan.getLastAction();
if (modification.getType() != DeploymentAction.Type.UNDEPLOY) {
throw new IllegalStateException("Invalid action type " + modification.getType());
}
this.undeployModification = modification;
}