public class VariableIsEmptyExpressionFunction extends AbstractFlowableVariableExpressionFunction
String: following StringUtils.isEmpty(CharSequence) semantics
- Collection: if the collection has no elements
- ArrayNode: if the json array has no elements.
When the variable value is null, true is returned in all cases.
When the variale value is not null, and the instance type is not one of the cases above, false will be returned.functionName, localName, method, pattern, prefix, replacePattern, variableScopeName| Constructor and Description |
|---|
VariableIsEmptyExpressionFunction(String variableScopeName) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmpty(VariableScope variableScope,
String variableName) |
protected boolean |
isMultiParameterFunction() |
getFinalFunctionPrefix, getFunctionPrefixOptions, getVariableValue, prefix, valuesAreNumbersbuildOrWordGroup, enhance, findMethod, functionMethod, isNoParameterMethod, localNamepublic VariableIsEmptyExpressionFunction(String variableScopeName)
protected boolean isMultiParameterFunction()
isMultiParameterFunction in class AbstractFlowableVariableExpressionFunctionpublic static boolean isEmpty(VariableScope variableScope, String variableName)
Copyright © 2019 Flowable. All rights reserved.