Esempio n. 1
0
 public TaskDefinition getTaskDefinition() {
   ensureProcessDefinitionInitialized();
   if (processDefinition != null && taskDefinition == null && nodeId != null) {
     TaskDefinition taskDefinition = processDefinition.getTaskDefinitions().get(nodeId);
     setTaskDefinition(taskDefinition);
   }
   return taskDefinition;
 }
Esempio n. 2
0
  protected void ensureNodeInitialized() {

    ensureProcessDefinitionInitialized();

    if (node == null && nodeId != null && processDefinition != null) {
      KernelFlowNode flowNode = processDefinition.findFlowNode(nodeId);
      if (flowNode != null) {
        setNode(flowNode);
      }
    }
  }
Esempio n. 3
0
 public ProcessDefinitionEntity getProcessDefinition() {
   ensureProcessDefinitionInitialized();
   return processDefinition;
 }