Package org.jbpm.process.core.context.swimlane

Examples of org.jbpm.process.core.context.swimlane.Swimlane


        list.add(20);
        variable.setValue(list);
        variables.add(variable);
        process.getVariableScope().setVariables(variables);
       
        Swimlane swimlane = new Swimlane();
        swimlane.setName("actor1");
        process.getSwimlaneContext().addSwimlane(swimlane);
        swimlane = new Swimlane();
        swimlane.setName("actor2");
        process.getSwimlaneContext().addSwimlane(swimlane);
       
        ActionExceptionHandler exceptionHandler = new ActionExceptionHandler();
        exceptionHandler.setFaultVariable("faultVariable");
        DroolsConsequenceAction action = new DroolsConsequenceAction("dialect", "consequence");
View Full Code Here


        emptyAttributeCheck(localName, "name", name, parser);
       
        SwimlaneContext swimlaneContext = (SwimlaneContext)
            process.getDefaultContext(SwimlaneContext.SWIMLANE_SCOPE);
        if (swimlaneContext != null) {
            Swimlane swimlane = new Swimlane();
            swimlane.setName(name);
            swimlaneContext.addSwimlane(swimlane);
        } else {
            throw new SAXParseException(
                "Could not find default swimlane context.", parser.getLocator());
        }
View Full Code Here

      Map<String, String> laneMapping = new HashMap<String, String>();
      if (lanes != null) {
          for (Lane lane: lanes) {
              String name = lane.getName();
              if (name != null) {
                  Swimlane swimlane = new Swimlane();
                  swimlane.setName(name);
                  process.getSwimlaneContext().addSwimlane(swimlane);
                  laneNames.add(name);
                  for (String flowElementRef: lane.getFlowElements()) {
                      laneMapping.put(flowElementRef, name);
                  }
View Full Code Here

      getRuleFlowProcess().getVariableScope().getVariables().add(variable);
        return this;
    }
   
    public RuleFlowProcessFactory swimlane(String name) {
      Swimlane swimlane = new Swimlane();
      swimlane.setName(name);
      getRuleFlowProcess().getSwimlaneContext().addSwimlane(swimlane);
      return this;
    }
View Full Code Here

    protected SwimlanesDialog(Shell parentShell) {
        super(parentShell, "Swimlanes", SwimlaneDialog.class);
    }

    protected Swimlane createItem() {
        return new Swimlane();
    }
View Full Code Here

TOP

Related Classes of org.jbpm.process.core.context.swimlane.Swimlane

Copyright © 2018 www.massapicom. 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.