org.camunda.bpm.engine.impl.dmn.invocation
Class DecisionInvocation

java.lang.Object
  extended by org.camunda.bpm.engine.impl.delegate.DelegateInvocation
      extended by org.camunda.bpm.engine.impl.dmn.invocation.DecisionInvocation

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.

Author:
Daniel Meyer

Field Summary
protected  DecisionDefinition decisionDefinition
           
protected  org.camunda.bpm.engine.variable.context.VariableContext variableContext
           
 
Fields inherited from class org.camunda.bpm.engine.impl.delegate.DelegateInvocation
contextExecution, contextResource, invocationResult
 
Constructor Summary
DecisionInvocation(DecisionDefinition decisionDefinition, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
           
 
Method Summary
 DecisionDefinition getDecisionDefinition()
           
 org.camunda.bpm.dmn.engine.DmnDecisionResult getInvocationResult()
           
protected  void invoke()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.delegate.DelegateInvocation
getContextExecution, getContextResource, proceed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decisionDefinition

protected DecisionDefinition decisionDefinition

variableContext

protected org.camunda.bpm.engine.variable.context.VariableContext variableContext
Constructor Detail

DecisionInvocation

public DecisionInvocation(DecisionDefinition decisionDefinition,
                          org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Method Detail

invoke

protected void invoke()
               throws Exception
Specified by:
invoke in class DelegateInvocation
Throws:
Exception

getInvocationResult

public org.camunda.bpm.dmn.engine.DmnDecisionResult getInvocationResult()
Overrides:
getInvocationResult in class DelegateInvocation
Returns:
the result of the invocation (can be null if the invocation does not return a result)

getDecisionDefinition

public DecisionDefinition getDecisionDefinition()


Copyright © 2017 camunda services GmbH. All rights reserved.