Class ElEvaluators.Builder
java.lang.Object
de.xima.fc.common.el.ElEvaluators.Builder
- Enclosing class:
ElEvaluators
A builder for an
ElEvaluators. Use ElEvaluators.builder() to create a new instance.- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionaddStaticFunctions(String prefix, Class<?> clazz) Adds static functions from the given class to the evaluator, with the specified prefix.build()Builds a newIElEvaluatorinstance with the current configuration of this builder.
-
Method Details
-
addStaticFunctions
Adds static functions from the given class to the evaluator, with the specified prefix. Only static methods that are public will be added.- Parameters:
prefix- The prefix to use for the static functions.clazz- The class from which to add static functions.- Returns:
- This builder instance for method chaining.
-
build
Builds a newIElEvaluatorinstance with the current configuration of this builder.- Returns:
- A new
IElEvaluatorinstance.
-