Package org.flowable.dmn.engine.impl
Class ExecuteDecisionBuilderImpl
java.lang.Object
org.flowable.dmn.engine.impl.ExecuteDecisionBuilderImpl
- All Implemented Interfaces:
ExecuteDecisionBuilder
- Author:
- Tijs Rademakers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityId(String activityId) Set the activity iddecisionKey(String decisionKey) Set the key of the decisionexecute()Deprecated.Executes a decision (table)Execute a decision serviceExecute a decision serviceExecute a decision serviceExecute a decision (table)Execute a decision (table)Execute a single decision or a decision service depending on the provided decision keyExecute a single decision or a decision service depending on the provided decision keyexecutionId(String executionId) Set the execution idallow to search for definition by key in the default tenant when tenant specific search failsinstanceId(String instanceId) Set the instance idbooleanparentDeploymentId(String parentDeploymentId) Set the parent deployment idSet the scope typeSet the tenantIdAdds a variableSets the variables
-
Field Details
-
decisionService
-
decisionKey
-
parentDeploymentId
-
instanceId
-
executionId
-
activityId
-
scopeType
-
tenantId
-
variables
-
fallbackToDefaultTenant
protected boolean fallbackToDefaultTenant
-
-
Constructor Details
-
ExecuteDecisionBuilderImpl
-
-
Method Details
-
decisionKey
Description copied from interface:ExecuteDecisionBuilderSet the key of the decision- Specified by:
decisionKeyin interfaceExecuteDecisionBuilder
-
parentDeploymentId
Description copied from interface:ExecuteDecisionBuilderSet the parent deployment id- Specified by:
parentDeploymentIdin interfaceExecuteDecisionBuilder
-
instanceId
Description copied from interface:ExecuteDecisionBuilderSet the instance id- Specified by:
instanceIdin interfaceExecuteDecisionBuilder
-
executionId
Description copied from interface:ExecuteDecisionBuilderSet the execution id- Specified by:
executionIdin interfaceExecuteDecisionBuilder
-
activityId
Description copied from interface:ExecuteDecisionBuilderSet the activity id- Specified by:
activityIdin interfaceExecuteDecisionBuilder
-
scopeType
Description copied from interface:ExecuteDecisionBuilderSet the scope type- Specified by:
scopeTypein interfaceExecuteDecisionBuilder
-
tenantId
Description copied from interface:ExecuteDecisionBuilderSet the tenantId- Specified by:
tenantIdin interfaceExecuteDecisionBuilder
-
fallbackToDefaultTenant
Description copied from interface:ExecuteDecisionBuilderallow to search for definition by key in the default tenant when tenant specific search fails- Specified by:
fallbackToDefaultTenantin interfaceExecuteDecisionBuilder
-
variables
Description copied from interface:ExecuteDecisionBuilderSets the variables- Specified by:
variablesin interfaceExecuteDecisionBuilder
-
variable
Description copied from interface:ExecuteDecisionBuilderAdds a variable- Specified by:
variablein interfaceExecuteDecisionBuilder
-
execute
Deprecated.Description copied from interface:ExecuteDecisionBuilderExecutes a decision returning one or more output results with variables- Specified by:
executein interfaceExecuteDecisionBuilder
-
executeDecision
Description copied from interface:ExecuteDecisionBuilderExecutes a decision (table)- Specified by:
executeDecisionin interfaceExecuteDecisionBuilder- Returns:
- A List with one or more rule results mapped to variables
-
executeDecisionService
Description copied from interface:ExecuteDecisionBuilderExecute a decision service- Specified by:
executeDecisionServicein interfaceExecuteDecisionBuilder- Returns:
- a Map with decision rule result(s) mapped to variables per output decision
-
executeWithSingleResult
Description copied from interface:ExecuteDecisionBuilderExecute a single decision or a decision service depending on the provided decision key- Specified by:
executeWithSingleResultin interfaceExecuteDecisionBuilder- Returns:
- a Map with the decision(s) result(s). When multiple output decisions use the same
variable IDs the last occurrence will be present in the Map.
An
FlowableExceptionwill be thrown when multiple rules were hit.
-
executeDecisionWithSingleResult
Description copied from interface:ExecuteDecisionBuilderExecute a decision (table)- Specified by:
executeDecisionWithSingleResultin interfaceExecuteDecisionBuilder- Returns:
- a Map with the decision result.
An
FlowableExceptionwill be thrown when multiple rules were hit.
-
executeDecisionServiceWithSingleResult
Description copied from interface:ExecuteDecisionBuilderExecute a decision service- Specified by:
executeDecisionServiceWithSingleResultin interfaceExecuteDecisionBuilder- Returns:
- a Map with the decision(s) result(s). When multiple output decisions use the same
variable IDs the last occurrence will be present in the Map.
An
FlowableExceptionwill be thrown when multiple rules were hit.
-
executeWithAuditTrail
Description copied from interface:ExecuteDecisionBuilderExecute a single decision or a decision service depending on the provided decision key- Specified by:
executeWithAuditTrailin interfaceExecuteDecisionBuilder- Returns:
- the
DecisionExecutionAuditContainerwhen a decision was executed or aDecisionServiceExecutionAuditContainerwhen a decision service was executed
-
executeDecisionWithAuditTrail
Description copied from interface:ExecuteDecisionBuilderExecute a decision (table)- Specified by:
executeDecisionWithAuditTrailin interfaceExecuteDecisionBuilder- Returns:
- a
DecisionExecutionAuditContainer
-
executeDecisionServiceWithAuditTrail
Description copied from interface:ExecuteDecisionBuilderExecute a decision service- Specified by:
executeDecisionServiceWithAuditTrailin interfaceExecuteDecisionBuilder- Returns:
- a
DecisionServiceExecutionAuditContainer
-
getDecisionKey
-
getParentDeploymentId
-
getInstanceId
-
getExecutionId
-
getActivityId
-
getScopeType
-
getTenantId
-
isFallbackToDefaultTenant
public boolean isFallbackToDefaultTenant() -
getVariables
-
buildExecuteDecisionContext
- Specified by:
buildExecuteDecisionContextin interfaceExecuteDecisionBuilder
-