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
DelegateInvocationinvoking aDecisionDefinitionin 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 DecisionDefinitiondecisionDefinitionprotected VariableContextvariableContext- 
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 DecisionDefinitiongetDecisionDefinition()DmnDecisionResultgetInvocationResult()protected voidinvoke()- 
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 Exception- Specified by:
 invokein classDelegateInvocation- Throws:
 Exception
 
- 
getInvocationResult
public DmnDecisionResult getInvocationResult()
- Overrides:
 getInvocationResultin classDelegateInvocation- Returns:
 - the result of the invocation (can be null if the invocation does not return a result)
 
 
- 
getDecisionDefinition
public DecisionDefinition getDecisionDefinition()
 
 - 
 
 -