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, wait
Methods inherited from interface org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
prefixes
Methods inherited from interface org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
functionMethod, localName
-
Constructor Details
-
CollectionsFunctionDelegate
public CollectionsFunctionDelegate()
-
-
Method Details
-
prefix
Description copied from interface:FlowableFunctionDelegate
The 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 actualFlowableFunctionDelegate
instance.- Specified by:
prefix
in interfaceFlowableFunctionDelegate
-
localNames
Description copied from interface:FlowableFunctionDelegate
All 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 actualFlowableFunctionDelegate
instance.- Specified by:
localNames
in interfaceFlowableFunctionDelegate
- Specified by:
localNames
in interfaceFlowableMultiFunctionDelegate
-
functionMethod
- Specified by:
functionMethod
in interfaceFlowableFunctionDelegate
- Specified by:
functionMethod
in interfaceFlowableMultiFunctionDelegate
- Throws:
NoSuchMethodException
-