@Test public void testScriptTaskCamundaExtensions() { modelInstance = Bpmn.createProcess() .startEvent() .scriptTask(TASK_ID) .camundaResultVariable(TEST_STRING_API) .camundaResource(TEST_STRING_API) .camundaFailedJobRetryTimeCycle(FAILED_JOB_RETRY_TIME_CYCLE) .endEvent() .done(); ScriptTask scriptTask = modelInstance.getModelElementById(TASK_ID); assertThat(scriptTask.getCamundaResultVariable()).isEqualTo(TEST_STRING_API); assertThat(scriptTask.getCamundaResource()).isEqualTo(TEST_STRING_API); assertCamundaFailedJobRetryTimeCycle(scriptTask); }
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);  }