Interface Evaluator
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface Evaluator extends java.lang.AutoCloseable
Evaluator interface. An implementation of this is used during evaluation of all expressions for one component descriptor as needed. This does not need to be thread safe and it will not be used across component descriptors without receiving intermediate init/destroy calls.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
default close session does nothingjava.lang.Object
eval(java.lang.String expression)
Evaluate an expression tagged for this processor.void
init(EvaluationContext context)
Initialize evalution session
-
-
-
Method Detail
-
init
void init(EvaluationContext context)
Initialize evalution session
-
eval
java.lang.Object eval(java.lang.String expression)
Evaluate an expression tagged for this processor. A result ofnull
is legal during processing but will eventually be removed from the properties set.
-
close
default void close()
default close session does nothing- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-