Class VariableEqualsExpressionFunction
- java.lang.Object
-
- org.flowable.common.engine.impl.el.function.AbstractFlowableVariableExpressionFunction
-
- org.flowable.common.engine.impl.el.function.VariableEqualsExpressionFunction
-
- All Implemented Interfaces:
FlowableFunctionDelegate,FlowableAstFunctionCreator
public class VariableEqualsExpressionFunction extends AbstractFlowableVariableExpressionFunction
Compares the value of a variable (fetched using the variableName through the variable scope) with a value on equality. If the variable value is null, false is returned (unless compared to null).- Author:
- Joram Barrez
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.el.function.AbstractFlowableVariableExpressionFunction
functionName, functionNamesOptions, method, variableScopeName
-
-
Constructor Summary
Constructors Constructor Description VariableEqualsExpressionFunction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static booleandefaultEquals(Object variableValue, Object actualValue)static booleanequals(VariableContainer variableContainer, String variableName, Object comparedValue)-
Methods inherited from class org.flowable.common.engine.impl.el.function.AbstractFlowableVariableExpressionFunction
createFunction, createVariableNameNode, findMethod, functionMethod, getFunctionNames, getVariableValue, localName, localNames, prefix, prefixes, valuesAreNumbers
-
-
-
-
Method Detail
-
equals
public static boolean equals(VariableContainer variableContainer, String variableName, Object comparedValue)
-
-