if (deployedProcess != null && deployedProcess.killAfterLaunch()) {
logger.info(methodName, null, ">>>> Process Ducc Id:"
+ processEntry.getValue().getDuccId()
+ " Was Previously Tagged for Kill While It Was Starting");
undeployProcess(processEntry.getValue());
} else if ( deployedProcess != null && deployedProcess.doKill() &&
deployedProcess.getDuccProcess().getProcessState().equals(ProcessState.Stopped) ) {
deployedProcess.getDuccProcess().setReasonForStoppingProcess(ReasonForStoppingProcess.KilledByDucc.toString());
} else if ( deployedProcess != null && ( deployedProcess.doKill()
|| deployedProcess.getDuccProcess().getProcessState().equals(ProcessState.Failed)
|| deployedProcess.getDuccProcess().getProcessState().equals(ProcessState.Killed)) ) {