printInfo("Adding orgActivity!: "+selfOrgAct+"\nbegin"); }  DeployPlan oldDeployPlan = getDeployPlan(); Task oldDRTask = null; if ((oldDeployPlan != null) && (oldDeployPlan.expandedWorkflow != null)) { killWorkflow(oldDeployPlan.expandedWorkflow); oldDeployPlan.expandedWorkflow = null; oldDRTask = oldDeployPlan.detReqsTask;
printInfo("Adding orgActivity!: " + selfOrgAct + "\nbegin");
  protected void watchAddedSelfOrgDeployAct(OrgActivity selfOrgAct) {    if (logger.isInfoEnabled()) {      printInfo("Adding orgActivity!: "+selfOrgAct+"\nbegin");    }    DeployPlan oldDeployPlan = getDeployPlan();    Task oldDRTask = null;    if ((oldDeployPlan != null) && (oldDeployPlan.expandedWorkflow != null)) {      killWorkflow(oldDeployPlan.expandedWorkflow);      oldDeployPlan.expandedWorkflow = null;      oldDRTask = oldDeployPlan.detReqsTask;    }    replaceDeployPlan(selfOrgAct);    if (oldDRTask != null) {	handleDetermineRequirementsTask (oldDRTask);    }    else {	// Re-process existing DETERMINEREQUIREMENTS task in	// light of the new Org Activity	watchDueDetermineRequirementsTasks();    }    if (logger.isInfoEnabled()) {      printInfo("Added orgActivity!: "+selfOrgAct+"\ndone");    }  }