Class BaseIdentityLinksFunctionDelegate

java.lang.Object
com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
All Implemented Interfaces:
FlowableAstFunctionCreatorAndDelegate, org.flowable.common.engine.api.delegate.FlowableFunctionDelegate, org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate, org.flowable.common.engine.impl.el.FlowableAstFunctionCreator
Direct Known Subclasses:
BpmnIdentityLinksFunctionDelegate, CmmnIdentityLinksFunctionDelegate, TaskIdentityLinksFunctionDelegate

public abstract class BaseIdentityLinksFunctionDelegate extends Object implements org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate, FlowableAstFunctionCreatorAndDelegate
Author:
Filip Hrisafov
  • Field Details

    • strictMode

      protected final boolean strictMode
    • variableScopeKey

      protected final String variableScopeKey
    • scopeIdKey

      protected final String scopeIdKey
  • Constructor Details

    • BaseIdentityLinksFunctionDelegate

      protected BaseIdentityLinksFunctionDelegate(boolean strictMode, String variableScopeKey, String scopeIdKey)
  • Method Details

    • getUtilClass

      protected abstract Class<?> getUtilClass()
    • localNames

      public Collection<String> localNames()
      Specified by:
      localNames in interface org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
      Specified by:
      localNames in interface org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
    • functionMethod

      public Method functionMethod(String prefix, String localName) throws NoSuchMethodException
      Specified by:
      functionMethod in interface org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
      Specified by:
      functionMethod in interface org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
      Throws:
      NoSuchMethodException
    • determineParameterTypes

      protected Class<?>[] determineParameterTypes(String prefix, String localName)
    • createFunction

      public org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstFunction createFunction(String name, int index, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, boolean varargs, org.flowable.common.engine.impl.el.FlowableExpressionParser parser)
      Specified by:
      createFunction in interface org.flowable.common.engine.impl.el.FlowableAstFunctionCreator
    • determineParametersForFunction

      protected org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters determineParametersForFunction(String name, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, org.flowable.common.engine.impl.el.FlowableExpressionParser parser)
      Determine the parameters for the function without taking into account the strict mode.
      Parameters:
      name - the name of the function
      parameters - the parameters of the function
      parser - the parser