@Test public void testUserTaskCamundaExtensions() { modelInstance = Bpmn.createProcess() .startEvent() .userTask(TASK_ID) .camundaAssignee(TEST_STRING_API) .camundaCandidateGroups(TEST_GROUPS_API) .camundaCandidateUsers(TEST_USERS_LIST_API) .camundaDueDate(TEST_DUE_DATE_API) .camundaFollowUpDate(TEST_FOLLOW_UP_DATE_API) .camundaFormHandlerClass(TEST_CLASS_API) .camundaFormKey(TEST_STRING_API) .camundaPriority(TEST_PRIORITY_API) .camundaFailedJobRetryTimeCycle(FAILED_JOB_RETRY_TIME_CYCLE) .endEvent() .done(); UserTask userTask = modelInstance.getModelElementById(TASK_ID); assertThat(userTask.getCamundaAssignee()).isEqualTo(TEST_STRING_API); assertThat(userTask.getCamundaCandidateGroups()).isEqualTo(TEST_GROUPS_API); assertThat(userTask.getCamundaCandidateGroupsList()).containsAll(TEST_GROUPS_LIST_API); assertThat(userTask.getCamundaCandidateUsers()).isEqualTo(TEST_USERS_API); assertThat(userTask.getCamundaCandidateUsersList()).containsAll(TEST_USERS_LIST_API); assertThat(userTask.getCamundaDueDate()).isEqualTo(TEST_DUE_DATE_API); assertThat(userTask.getCamundaFollowUpDate()).isEqualTo(TEST_FOLLOW_UP_DATE_API); assertThat(userTask.getCamundaFormHandlerClass()).isEqualTo(TEST_CLASS_API); assertThat(userTask.getCamundaFormKey()).isEqualTo(TEST_STRING_API); assertThat(userTask.getCamundaPriority()).isEqualTo(TEST_PRIORITY_API); assertCamundaFailedJobRetryTimeCycle(userTask); }
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);  }