Examples of HumanPerformer


Examples of org.eclipse.bpmn2.HumanPerformer

            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case Bpmn2Package.HUMAN_PERFORMER: {
            HumanPerformer humanPerformer = (HumanPerformer) theEObject;
            T result = caseHumanPerformer(humanPerformer);
            if (result == null)
                result = casePerformer(humanPerformer);
            if (result == null)
                result = caseResourceRole(humanPerformer);
View Full Code Here

Examples of org.eclipse.bpmn2.HumanPerformer

    for (FlowElement flowElement : flowElements) {
      if (flowElement instanceof UserTask) {
        UserTask userTask = (UserTask) flowElement;
        for (ResourceRole resourceRole : userTask.getResources()) {
          if (resourceRole.getClass().getSimpleName().equals("HumanPerformerImpl")) {
            HumanPerformer humanPerformer = (HumanPerformer) resourceRole;
            humanPerformers.add(humanPerformer);
          }
        }
        if (humanPerformers.size() > 1) {
          sb.append("分配任务中独占类型有且只能存在一个;");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.