Class IsPlanItemCompletedExpressionFunction
java.lang.Object
org.flowable.cmmn.engine.impl.function.IsPlanItemCompletedExpressionFunction
- All Implemented Interfaces:
FlowableFunctionDelegate,FlowableAstFunctionCreator
public class IsPlanItemCompletedExpressionFunction
extends Object
implements FlowableFunctionDelegate, FlowableAstFunctionCreator
This function evaluates a plan item to be completed, which is most likely used on a plan item with a repetition rule to check, whether it has alreday
been completed before.
- Author:
- Micha Kiener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFunction(String name, int index, AstParameters parameters, boolean varargs, FlowableExpressionParser parser) Create anAstFunctionbased on the provided name, index, parameters.Returns the method that is invoked by JUEL.The names of the functions that this creator can create.static booleanisPlanItemCompleted(Object object) The name 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
localNames, prefixes
-
Constructor Details
-
IsPlanItemCompletedExpressionFunction
public IsPlanItemCompletedExpressionFunction()
-
-
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
-
localName
Description copied from interface:FlowableFunctionDelegateThe name of the method when used in an expression, like the second part of ${prefix:method()}. Will be used to match the text of the expression to the actualFlowableFunctionDelegateinstance.- Specified by:
localNamein interfaceFlowableFunctionDelegate
-
functionMethod
Description copied from interface:FlowableFunctionDelegateReturns the method that is invoked by JUEL.- Specified by:
functionMethodin interfaceFlowableFunctionDelegate
-
getFunctionNames
Description copied from interface:FlowableAstFunctionCreatorThe names of the functions that this creator can create.- Specified by:
getFunctionNamesin interfaceFlowableAstFunctionCreator
-
createFunction
public AstFunction createFunction(String name, int index, AstParameters parameters, boolean varargs, FlowableExpressionParser parser) Description copied from interface:FlowableAstFunctionCreatorCreate anAstFunctionbased on the provided name, index, parameters. Potentially creating new parameters to enhance the function.- Specified by:
createFunctionin interfaceFlowableAstFunctionCreator- Parameters:
name- the name of the functionindex- the indexparameters- the parameters for the functionvarargs- whether varargs is supportedparser- the parser for potentially creating identifiers
-
isPlanItemCompleted
-