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 idboolean
parentDeploymentId
(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:ExecuteDecisionBuilder
Set the key of the decision- Specified by:
decisionKey
in interfaceExecuteDecisionBuilder
-
parentDeploymentId
Description copied from interface:ExecuteDecisionBuilder
Set the parent deployment id- Specified by:
parentDeploymentId
in interfaceExecuteDecisionBuilder
-
instanceId
Description copied from interface:ExecuteDecisionBuilder
Set the instance id- Specified by:
instanceId
in interfaceExecuteDecisionBuilder
-
executionId
Description copied from interface:ExecuteDecisionBuilder
Set the execution id- Specified by:
executionId
in interfaceExecuteDecisionBuilder
-
activityId
Description copied from interface:ExecuteDecisionBuilder
Set the activity id- Specified by:
activityId
in interfaceExecuteDecisionBuilder
-
scopeType
Description copied from interface:ExecuteDecisionBuilder
Set the scope type- Specified by:
scopeType
in interfaceExecuteDecisionBuilder
-
tenantId
Description copied from interface:ExecuteDecisionBuilder
Set the tenantId- Specified by:
tenantId
in interfaceExecuteDecisionBuilder
-
fallbackToDefaultTenant
Description copied from interface:ExecuteDecisionBuilder
allow to search for definition by key in the default tenant when tenant specific search fails- Specified by:
fallbackToDefaultTenant
in interfaceExecuteDecisionBuilder
-
variables
Description copied from interface:ExecuteDecisionBuilder
Sets the variables- Specified by:
variables
in interfaceExecuteDecisionBuilder
-
variable
Description copied from interface:ExecuteDecisionBuilder
Adds a variable- Specified by:
variable
in interfaceExecuteDecisionBuilder
-
execute
Deprecated.Description copied from interface:ExecuteDecisionBuilder
Executes a decision returning one or more output results with variables- Specified by:
execute
in interfaceExecuteDecisionBuilder
-
executeDecision
Description copied from interface:ExecuteDecisionBuilder
Executes a decision (table)- Specified by:
executeDecision
in interfaceExecuteDecisionBuilder
- Returns:
- A List with one or more rule results mapped to variables
-
executeDecisionService
Description copied from interface:ExecuteDecisionBuilder
Execute a decision service- Specified by:
executeDecisionService
in interfaceExecuteDecisionBuilder
- Returns:
- a Map with decision rule result(s) mapped to variables per output decision
-
executeWithSingleResult
Description copied from interface:ExecuteDecisionBuilder
Execute a single decision or a decision service depending on the provided decision key- Specified by:
executeWithSingleResult
in 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
FlowableException
will be thrown when multiple rules were hit.
-
executeDecisionWithSingleResult
Description copied from interface:ExecuteDecisionBuilder
Execute a decision (table)- Specified by:
executeDecisionWithSingleResult
in interfaceExecuteDecisionBuilder
- Returns:
- a Map with the decision result.
An
FlowableException
will be thrown when multiple rules were hit.
-
executeDecisionServiceWithSingleResult
Description copied from interface:ExecuteDecisionBuilder
Execute a decision service- Specified by:
executeDecisionServiceWithSingleResult
in 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
FlowableException
will be thrown when multiple rules were hit.
-
executeWithAuditTrail
Description copied from interface:ExecuteDecisionBuilder
Execute a single decision or a decision service depending on the provided decision key- Specified by:
executeWithAuditTrail
in interfaceExecuteDecisionBuilder
- Returns:
- the
DecisionExecutionAuditContainer
when a decision was executed or aDecisionServiceExecutionAuditContainer
when a decision service was executed
-
executeDecisionWithAuditTrail
Description copied from interface:ExecuteDecisionBuilder
Execute a decision (table)- Specified by:
executeDecisionWithAuditTrail
in interfaceExecuteDecisionBuilder
- Returns:
- a
DecisionExecutionAuditContainer
-
executeDecisionServiceWithAuditTrail
Description copied from interface:ExecuteDecisionBuilder
Execute a decision service- Specified by:
executeDecisionServiceWithAuditTrail
in interfaceExecuteDecisionBuilder
- Returns:
- a
DecisionServiceExecutionAuditContainer
-
getDecisionKey
-
getParentDeploymentId
-
getInstanceId
-
getExecutionId
-
getActivityId
-
getScopeType
-
getTenantId
-
isFallbackToDefaultTenant
public boolean isFallbackToDefaultTenant() -
getVariables
-
buildExecuteDecisionContext
- Specified by:
buildExecuteDecisionContext
in interfaceExecuteDecisionBuilder
-