@Test public void testServiceTaskCamundaExtensions() { modelInstance = Bpmn.createProcess() .startEvent() .serviceTask(TASK_ID) .camundaClass(TEST_CLASS_API) .camundaDelegateExpression(TEST_DELEGATE_EXPRESSION_API) .camundaExpression(TEST_EXPRESSION_API) .camundaResultVariable(TEST_STRING_API) .camundaTopic(TEST_STRING_API) .camundaType(TEST_STRING_API) .camundaTaskPriority(TEST_SERVICE_TASK_PRIORITY) .camundaFailedJobRetryTimeCycle(FAILED_JOB_RETRY_TIME_CYCLE) .done(); ServiceTask serviceTask = modelInstance.getModelElementById(TASK_ID); assertThat(serviceTask.getCamundaClass()).isEqualTo(TEST_CLASS_API); assertThat(serviceTask.getCamundaDelegateExpression()).isEqualTo(TEST_DELEGATE_EXPRESSION_API); assertThat(serviceTask.getCamundaExpression()).isEqualTo(TEST_EXPRESSION_API); assertThat(serviceTask.getCamundaResultVariable()).isEqualTo(TEST_STRING_API); assertThat(serviceTask.getCamundaTopic()).isEqualTo(TEST_STRING_API); assertThat(serviceTask.getCamundaType()).isEqualTo(TEST_STRING_API); 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);  }