public class DecisionInvocation extends DelegateInvocation
DelegateInvocation
invoking a DecisionDefinition
in a given VariableContext
.
The DmnEngine instance is resolved from the Context.
The invocation result is a DmnDecisionResult
.
The target of the invocation is the DecisionDefinition
.Modifier and Type | Field and Description |
---|---|
protected DecisionDefinition |
decisionDefinition |
protected VariableContext |
variableContext |
contextExecution, contextResource, invocationResult
Constructor and Description |
---|
DecisionInvocation(DecisionDefinition decisionDefinition,
VariableContext variableContext) |
Modifier and Type | Method and Description |
---|---|
DecisionDefinition |
getDecisionDefinition() |
DmnDecisionResult |
getInvocationResult() |
protected void |
invoke() |
getContextExecution, getContextResource, proceed
protected DecisionDefinition decisionDefinition
protected VariableContext variableContext
public DecisionInvocation(DecisionDefinition decisionDefinition, VariableContext variableContext)
protected void invoke() throws Exception
invoke
in class DelegateInvocation
Exception
public DmnDecisionResult getInvocationResult()
getInvocationResult
in class DelegateInvocation
public DecisionDefinition getDecisionDefinition()
Copyright © 2022. All rights reserved.