@Test public void testMultiInstanceLoopCharacteristicsAsynchronousMultiInstanceAsyncBeforeElement() { modelInstance = Bpmn.createProcess() .startEvent() .userTask("task") .multiInstance() .camundaAsyncBefore() .parallel() .multiInstanceDone() .endEvent() .done(); UserTask userTask = modelInstance.getModelElementById("task"); Collection<MultiInstanceLoopCharacteristics> miCharacteristics = userTask.getChildElementsByType(MultiInstanceLoopCharacteristics.class); assertThat(miCharacteristics).hasSize(1); MultiInstanceLoopCharacteristics miCharacteristic = miCharacteristics.iterator().next(); assertThat(miCharacteristic.isSequential()).isFalse(); assertThat(miCharacteristic.isCamundaAsyncAfter()).isFalse(); assertThat(miCharacteristic.isCamundaAsyncBefore()).isTrue(); }
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(BpmnModelInstance modelInstance, Process process); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(String id); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(String id);  }