Map commandParams = new HashMap();
commandParams.put(DFDeploymentProperties.TARGET, target.getName());
DFCommandRunner commandRunner = getDFCommandRunner(commandName, commandParams, new String[]{moduleID});
DFDeploymentStatus ds = commandRunner.run();
DFDeploymentStatus mainStatus = ds.getMainStatus();
if(!po.checkStatusAndAddStage((TargetImpl)target, localStrings.getLocalString("enterprise.deployment.client.change_state", "{0} of {1} in target {2}", action, moduleID, target.getName()), mainStatus)) {
return po;
} else {
TargetModuleIDImpl targetModuleID =
new TargetModuleIDImpl((TargetImpl)target, moduleID);
targetModuleIDList.add(targetModuleID);