Class DelegateInvocation

java.lang.Object
org.flowable.engine.impl.delegate.invocation.DelegateInvocation
Direct Known Subclasses:
ActivityBehaviorInvocation, ExecutionListenerInvocation, ExpressionInvocation, FutureJavaDelegateInvocation, HttpRequestHandlerInvocation, HttpResponseHandlerInvocation, JavaDelegateInvocation, TaskListenerInvocation

public abstract class DelegateInvocation extends Object
Provides context about the invocation of usercode and handles the actual invocation
Author:
Daniel Meyer
See Also:
  • Field Details

    • invocationResult

      protected Object invocationResult
    • invocationParameters

      protected Object[] invocationParameters
  • Constructor Details

    • DelegateInvocation

      public DelegateInvocation()
  • Method Details

    • proceed

      public void proceed()
      Make the invocation proceed, performing the actual invocation of the user code.
    • invoke

      protected abstract void invoke()
    • getInvocationResult

      public Object getInvocationResult()
      Returns:
      the result of the invocation (can be null if the invocation does not return a result)
    • getInvocationParameters

      public Object[] getInvocationParameters()
      Returns:
      an array of invocation parameters (null if the invocation takes no parameters)
    • getTarget

      public abstract Object getTarget()
      returns the target of the current invocation, ie. JavaDelegate, ValueExpression ...