Class NotBlankUtilFunction
java.lang.Object
io.higson.runtime.builtin.implementation.UtilFunction
io.higson.runtime.builtin.implementation.NotBlankUtilFunction
- All Implemented Interfaces:
ContextualUtilFunction
This class represents a utility function for checking a value from the Higson context is not blank.
This class provides a call method that takes in a HigsonContext and an array of arguments.
It retrieves the value from the context using the given path and returns:
- false: if value is null
- false: if value is not sting, collection or map
- false: if value is collection or map but it is empty
- false: if value is not blank string
- true: if value is blank string
- true: if value is collection or map but it is empty
-
Field Summary
FieldsFields inherited from class io.higson.runtime.builtin.implementation.UtilFunction
converter -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.higson.runtime.builtin.implementation.UtilFunction
createHigsonRuntimeException, createHigsonRuntimeException, isValid, toTemporalAmountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.higson.runtime.builtin.implementation.ContextualUtilFunction
getContextPath
-
Field Details
-
CODE
- See Also:
-
INSTANCE
-
-
Constructor Details
-
NotBlankUtilFunction
public NotBlankUtilFunction()
-
-
Method Details
-
call
- Specified by:
callin classUtilFunction
-