case UNDEPLOY: {
controller.addServerModelUpdate(new ServerModelDeploymentStartStopUpdate(action.getDeploymentUnitUniqueName(), false), resultHandler, action.getId());
break;
}
case REDEPLOY: {
controller.addServerModelUpdate(new ServerModelDeploymentReplaceUpdate(action.getDeploymentUnitUniqueName(), action.getDeploymentUnitUniqueName()), resultHandler, action.getId());
break;
}
case REPLACE: {
controller.addServerModelUpdate(new ServerModelDeploymentReplaceUpdate(action.getDeploymentUnitUniqueName(), action.getReplacedDeploymentUnitUniqueName()), resultHandler, action.getId());
break;
}
case FULL_REPLACE:
ServerGroupDeploymentElement deployment = serverConfiguration.getDeployment(action.getDeploymentUnitUniqueName());
boolean redeploy = deployment != null && deployment.isStart();