@Test public void testBusinessRuleTaskCamundaExtensions() { modelInstance = Bpmn.createProcess() .startEvent() .businessRuleTask(TASK_ID) .camundaClass(TEST_CLASS_API) .camundaDelegateExpression(TEST_DELEGATE_EXPRESSION_API) .camundaExpression(TEST_EXPRESSION_API) .camundaResultVariable("resultVar") .camundaTopic("topic") .camundaType("type") .camundaDecisionRef("decisionRef") .camundaDecisionRefBinding("latest") .camundaDecisionRefVersion("7") .camundaDecisionRefVersionTag("0.1.0") .camundaDecisionRefTenantId("tenantId") .camundaMapDecisionResult("singleEntry") .camundaTaskPriority(TEST_SERVICE_TASK_PRIORITY) .camundaFailedJobRetryTimeCycle(FAILED_JOB_RETRY_TIME_CYCLE) .endEvent() .done(); BusinessRuleTask businessRuleTask = modelInstance.getModelElementById(TASK_ID); assertThat(businessRuleTask.getCamundaClass()).isEqualTo(TEST_CLASS_API); assertThat(businessRuleTask.getCamundaDelegateExpression()).isEqualTo(TEST_DELEGATE_EXPRESSION_API); assertThat(businessRuleTask.getCamundaExpression()).isEqualTo(TEST_EXPRESSION_API); assertThat(businessRuleTask.getCamundaResultVariable()).isEqualTo("resultVar"); assertThat(businessRuleTask.getCamundaTopic()).isEqualTo("topic"); assertThat(businessRuleTask.getCamundaType()).isEqualTo("type"); assertThat(businessRuleTask.getCamundaDecisionRef()).isEqualTo("decisionRef"); assertThat(businessRuleTask.getCamundaDecisionRefBinding()).isEqualTo("latest"); assertThat(businessRuleTask.getCamundaDecisionRefVersion()).isEqualTo("7"); assertThat(businessRuleTask.getCamundaDecisionRefVersionTag()).isEqualTo("0.1.0"); assertThat(businessRuleTask.getCamundaDecisionRefTenantId()).isEqualTo("tenantId"); assertThat(businessRuleTask.getCamundaMapDecisionResult()).isEqualTo("singleEntry"); assertThat(businessRuleTask.getCamundaTaskPriority()).isEqualTo(TEST_SERVICE_TASK_PRIORITY); assertCamundaFailedJobRetryTimeCycle(businessRuleTask); }
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);  }