public String toString() { return "RuntimeProcess[" + proc.getName() + ",status=" + proc.getProcessStatus() + "]"; } }
/** * Find the set of Processes for a given name * * @param name The process name * @param status The optional process status * @return An empty set if the process cannot be found */ public Set<Process> getProcesses(String name, Process.ProcessStatus status) { Set<Process> procSet = new HashSet<Process>(); for (Process aux : procs.values()) { if (aux.getName().equals(name)) { if (status == null || aux.getProcessStatus() == status) procSet.add(aux); } } return procSet; }
DelegatingExecutionContext(FlowObject flowObject, ExecutionContext delegate) { this.flowObject = flowObject; this.delegate = delegate; proc = flowObject.getProcess(); procPrefix = proc.getName() + "."; activityPrefix = procPrefix + flowObject.getName() + "."; }
String procName = proc.getName(); try
private JAXBProcess adaptProcess(Process proc) jaxbProc.setName(proc.getName());