Class DefaultServiceTaskBehavior

java.lang.Object
org.activiti.runtime.api.connector.DefaultServiceTaskBehavior
All Implemented Interfaces:
Function<org.activiti.engine.delegate.DelegateExecution,org.activiti.engine.impl.bpmn.behavior.DelegateExecutionOutcome>, org.activiti.engine.impl.bpmn.behavior.DelegateExecutionFunction

public class DefaultServiceTaskBehavior extends Object implements org.activiti.engine.impl.bpmn.behavior.DelegateExecutionFunction
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultServiceTaskBehavior(org.springframework.context.ApplicationContext applicationContext, IntegrationContextBuilder integrationContextBuilder, org.activiti.engine.impl.bpmn.behavior.VariablesPropagator variablesPropagator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.activiti.engine.impl.bpmn.behavior.DelegateExecutionOutcome
    apply(org.activiti.engine.delegate.DelegateExecution execution)
    We have two different implementation strategy that can be executed in according if we have a connector action definition match or not.
    boolean
    hasConnectorBean(org.activiti.engine.delegate.DelegateExecution execution)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

    • DefaultServiceTaskBehavior

      public DefaultServiceTaskBehavior(org.springframework.context.ApplicationContext applicationContext, IntegrationContextBuilder integrationContextBuilder, org.activiti.engine.impl.bpmn.behavior.VariablesPropagator variablesPropagator)
  • Method Details

    • apply

      public org.activiti.engine.impl.bpmn.behavior.DelegateExecutionOutcome apply(org.activiti.engine.delegate.DelegateExecution execution)
      We have two different implementation strategy that can be executed in according if we have a connector action definition match or not.
      Specified by:
      apply in interface Function<org.activiti.engine.delegate.DelegateExecution,org.activiti.engine.impl.bpmn.behavior.DelegateExecutionOutcome>
    • hasConnectorBean

      public boolean hasConnectorBean(org.activiti.engine.delegate.DelegateExecution execution)