@Test public void testStartEventCamundaExtensions() { modelInstance = Bpmn.createProcess() .startEvent(START_EVENT_ID) .camundaAsyncBefore() .notCamundaExclusive() .camundaFormHandlerClass(TEST_CLASS_API) .camundaFormKey(TEST_STRING_API) .camundaInitiator(TEST_STRING_API) .camundaFailedJobRetryTimeCycle(FAILED_JOB_RETRY_TIME_CYCLE) .done(); StartEvent startEvent = modelInstance.getModelElementById(START_EVENT_ID); assertThat(startEvent.isCamundaAsyncBefore()).isTrue(); assertThat(startEvent.isCamundaExclusive()).isFalse(); assertThat(startEvent.getCamundaFormHandlerClass()).isEqualTo(TEST_CLASS_API); assertThat(startEvent.getCamundaFormKey()).isEqualTo(TEST_STRING_API); assertThat(startEvent.getCamundaInitiator()).isEqualTo(TEST_STRING_API); assertCamundaFailedJobRetryTimeCycle(startEvent); }
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);  }