@Test public void testTaskCamundaExtensions() { modelInstance = Bpmn.createProcess() .startEvent() .serviceTask(TASK_ID) .camundaAsyncBefore() .notCamundaExclusive() .camundaJobPriority("${somePriority}") .camundaTaskPriority(TEST_SERVICE_TASK_PRIORITY) .camundaFailedJobRetryTimeCycle(FAILED_JOB_RETRY_TIME_CYCLE) .endEvent() .done(); ServiceTask serviceTask = modelInstance.getModelElementById(TASK_ID); assertThat(serviceTask.isCamundaAsyncBefore()).isTrue(); assertThat(serviceTask.isCamundaExclusive()).isFalse(); assertThat(serviceTask.getCamundaJobPriority()).isEqualTo("${somePriority}"); assertThat(serviceTask.getCamundaTaskPriority()).isEqualTo(TEST_SERVICE_TASK_PRIORITY); assertCamundaFailedJobRetryTimeCycle(serviceTask); }
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);  }