@Test public void testMoveToDoesNotReturnRawBuilders() { Bpmn.createProcess() .startEvent("goto") .moveToNode("goto") .serviceTask("task", b -> b.name("name")); Bpmn.createProcess() .startEvent() .exclusiveGateway() .userTask() .moveToLastExclusiveGateway() .serviceTask("task", b -> b.name("name")); Bpmn.createProcess() .startEvent() .parallelGateway() .userTask() .moveToLastGateway() .serviceTask("task", b -> b.name("name")); Bpmn.createProcess() .startEvent() .serviceTask("goto") .userTask() .moveToActivity("goto") .serviceTask("task", b -> b.name("name")); }
public StartEventBuilder startEvent() { return startEvent(null); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(final BpmnModelInstance modelInstance, final Process process); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(final BpmnModelInstance modelInstance, final Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(final String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(final String id); ProcessBuilder eventSubProcess(
      final String id, final Consumer<EventSubProcessBuilder> consumer); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(final BpmnModelInstance modelInstance, final Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(final String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(final String id); ProcessBuilder eventSubProcess(
      final String id, final Consumer<EventSubProcessBuilder> consumer);  }