Tabnine Logo
BusinessRuleTask.setCamundaDecisionRef
Code IndexAdd Tabnine to your IDE (free)

How to use
setCamundaDecisionRef
method
in
org.camunda.bpm.model.bpmn.instance.BusinessRuleTask

Best Java code snippets using org.camunda.bpm.model.bpmn.instance.BusinessRuleTask.setCamundaDecisionRef (Showing top 5 results out of 315)

origin: camunda/camunda-bpm-platform

/**
 * Sets the camunda decisionRef attribute.
 *
 * @param camundaDecisionRef the decisionRef to set
 * @return the builder object
 */
public B camundaDecisionRef(String camundaDecisionRef) {
 element.setCamundaDecisionRef(camundaDecisionRef);
 return myself;
}
origin: org.camunda.bpm.model/camunda-bpmn-model

/**
 * Sets the camunda decisionRef attribute.
 *
 * @param camundaDecisionRef the decisionRef to set
 * @return the builder object
 */
public B camundaDecisionRef(String camundaDecisionRef) {
 element.setCamundaDecisionRef(camundaDecisionRef);
 return myself;
}
origin: camunda/camunda-bpmn-model

/**
 * Sets the camunda decisionRef attribute.
 *
 * @param camundaDecisionRef the decisionRef to set
 * @return the builder object
 */
public B camundaDecisionRef(String camundaDecisionRef) {
 element.setCamundaDecisionRef(camundaDecisionRef);
 return myself;
}
origin: camunda/camunda-bpm-platform

public void testBusinessRuleTask() {
 BpmnModelInstance modelInstance = Bpmn.createExecutableProcess("testProcess")
   .startEvent()
   .businessRuleTask("task")
   .endEvent()
   .done();
 BusinessRuleTask task = modelInstance.getModelElementById("task");
 task.setCamundaDecisionRef("decision");
 deploymentId = repositoryService.createDeployment()
   .addModelInstance("process.bpmn", modelInstance)
   .addClasspathResource(DMN_FILE)
   .deploy().getId();
 assertEquals(0l, getExecutedDecisionElements());
 assertEquals(0l, getExecutedDecisionElementsFromDmnEngine());
 runtimeService.startProcessInstanceByKey("testProcess", VARIABLES);
 assertEquals(16l, getExecutedDecisionElements());
 assertEquals(16l, getExecutedDecisionElementsFromDmnEngine());
 processEngineConfiguration.getDbMetricsReporter().reportNow();
 assertEquals(16l, getExecutedDecisionElements());
 assertEquals(16l, getExecutedDecisionElementsFromDmnEngine());
}
origin: org.camunda.bpm/camunda-engine

public void testBusinessRuleTask() {
 BpmnModelInstance modelInstance = Bpmn.createExecutableProcess("testProcess")
   .startEvent()
   .businessRuleTask("task")
   .endEvent()
   .done();
 BusinessRuleTask task = modelInstance.getModelElementById("task");
 task.setCamundaDecisionRef("decision");
 deploymentId = repositoryService.createDeployment()
   .addModelInstance("process.bpmn", modelInstance)
   .addClasspathResource(DMN_FILE)
   .deploy().getId();
 assertEquals(0l, getExecutedDecisionElements());
 assertEquals(0l, getExecutedDecisionElementsFromDmnEngine());
 runtimeService.startProcessInstanceByKey("testProcess", VARIABLES);
 assertEquals(16l, getExecutedDecisionElements());
 assertEquals(16l, getExecutedDecisionElementsFromDmnEngine());
 processEngineConfiguration.getDbMetricsReporter().reportNow();
 assertEquals(16l, getExecutedDecisionElements());
 assertEquals(16l, getExecutedDecisionElementsFromDmnEngine());
}
org.camunda.bpm.model.bpmn.instanceBusinessRuleTasksetCamundaDecisionRef

Popular methods of BusinessRuleTask

  • setCamundaClass
  • setCamundaExpression
  • setCamundaDecisionRefBinding
  • setCamundaDecisionRefTenantId
  • setCamundaDecisionRefVersion
  • setCamundaDecisionRefVersionTag
  • setCamundaDelegateExpression
  • setCamundaMapDecisionResult
  • setCamundaResultVariable
  • setCamundaTaskPriority
  • setCamundaTopic
  • setCamundaType
  • setCamundaTopic,
  • setCamundaType,
  • setImplementation,
  • removeAttributeNs

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now