@Test public void testProcessCamundaExtensions() { modelInstance = Bpmn.createProcess(PROCESS_ID) .camundaJobPriority("${somePriority}") .camundaTaskPriority(TEST_PROCESS_TASK_PRIORITY) .camundaHistoryTimeToLive(TEST_HISTORY_TIME_TO_LIVE) .camundaStartableInTasklist(TEST_STARTABLE_IN_TASKLIST) .camundaVersionTag(TEST_VERSION_TAG) .startEvent() .endEvent() .done(); Process process = modelInstance.getModelElementById(PROCESS_ID); assertThat(process.getCamundaJobPriority()).isEqualTo("${somePriority}"); assertThat(process.getCamundaTaskPriority()).isEqualTo(TEST_PROCESS_TASK_PRIORITY); assertThat(process.getCamundaHistoryTimeToLive()).isEqualTo(TEST_HISTORY_TIME_TO_LIVE); assertThat(process.isCamundaStartableInTasklist()).isEqualTo(TEST_STARTABLE_IN_TASKLIST); assertThat(process.getCamundaVersionTag()).isEqualTo(TEST_VERSION_TAG); }
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);  }