Package org.flowable.dmn.engine.impl.el
Class CollectionsFunctionDelegate
java.lang.Object
org.flowable.dmn.engine.impl.el.CollectionsFunctionDelegate
- All Implemented Interfaces:
FlowableFunctionDelegate,FlowableMultiFunctionDelegate
Collections functions mapper that can be used in EL expressions. It provides the following expressions:
collection:allOf(collection, value)collection:anyOf(collection, value)collection:noneOf(collection, value)collection:notAllOf(collection, value)collection:containsAny(collection, value)collection:contains(collection, value)collection:notContainsAny(collection, value)collection:notContains(collection, value)
- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfunctionMethod(String prefix, String localName) All the names of the method when used in an expression, like the second part of ${prefix:method()}.prefix()The prefix of the method when used in an expression, like the first part of ${prefix:method()}.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
prefixesMethods inherited from interface org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
functionMethod, localName
-
Constructor Details
-
CollectionsFunctionDelegate
public CollectionsFunctionDelegate()
-
-
Method Details
-
prefix
Description copied from interface:FlowableFunctionDelegateThe prefix of the method when used in an expression, like the first part of ${prefix:method()}. Will be used to match the text of the expression to the actualFlowableFunctionDelegateinstance.- Specified by:
prefixin interfaceFlowableFunctionDelegate
-
localNames
Description copied from interface:FlowableFunctionDelegateAll the names of the method when used in an expression, like the second part of ${prefix:method()}. It allows one method to cover multiple local names. e.g.${prefix:method()}or${prefix:alternativeMethod()}. Will be used to match the text of the expression to the actualFlowableFunctionDelegateinstance.- Specified by:
localNamesin interfaceFlowableFunctionDelegate- Specified by:
localNamesin interfaceFlowableMultiFunctionDelegate
-
functionMethod
- Specified by:
functionMethodin interfaceFlowableFunctionDelegate- Specified by:
functionMethodin interfaceFlowableMultiFunctionDelegate- Throws:
NoSuchMethodException
-