Class DecisionInvocation
- java.lang.Object
-
- org.camunda.bpm.engine.impl.delegate.DelegateInvocation
-
- org.camunda.bpm.engine.impl.dmn.invocation.DecisionInvocation
-
public class DecisionInvocation extends DelegateInvocation
DelegateInvocation
invoking aDecisionDefinition
in a givenVariableContext
. The DmnEngine instance is resolved from the Context. The invocation result is aDmnDecisionResult
. The target of the invocation is theDecisionDefinition
.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected DecisionDefinition
decisionDefinition
protected VariableContext
variableContext
-
Fields inherited from class org.camunda.bpm.engine.impl.delegate.DelegateInvocation
contextExecution, contextResource, invocationResult
-
-
Constructor Summary
Constructors Constructor Description DecisionInvocation(DecisionDefinition decisionDefinition, VariableContext variableContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecisionDefinition
getDecisionDefinition()
DmnDecisionResult
getInvocationResult()
protected void
invoke()
-
Methods inherited from class org.camunda.bpm.engine.impl.delegate.DelegateInvocation
getContextExecution, getContextResource, proceed
-
-
-
-
Field Detail
-
decisionDefinition
protected DecisionDefinition decisionDefinition
-
variableContext
protected VariableContext variableContext
-
-
Constructor Detail
-
DecisionInvocation
public DecisionInvocation(DecisionDefinition decisionDefinition, VariableContext variableContext)
-
-
Method Detail
-
invoke
protected void invoke() throws java.lang.Exception
- Specified by:
invoke
in classDelegateInvocation
- Throws:
java.lang.Exception
-
getInvocationResult
public DmnDecisionResult getInvocationResult()
- Overrides:
getInvocationResult
in classDelegateInvocation
- Returns:
- the result of the invocation (can be null if the invocation does not return a result)
-
getDecisionDefinition
public DecisionDefinition getDecisionDefinition()
-
-