Package org.apache.commons.jexl3
Interface JexlContext.PragmaProcessor
-
- Enclosing interface:
- JexlContext
public static interface JexlContext.PragmaProcessor
A marker interface of the JexlContext that processes pragmas. It is called by the engine before interpreter creation; as a marker of JexlContext, it is expected to have access and interact with the context instance.- Since:
- 3.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
processPragma(java.lang.String key, java.lang.Object value)
Deprecated.3.3default void
processPragma(JexlOptions opts, java.lang.String key, java.lang.Object value)
Process one pragma.
-
-
-
Method Detail
-
processPragma
default void processPragma(JexlOptions opts, java.lang.String key, java.lang.Object value)
Process one pragma.- Parameters:
opts
- the current evaluator optionskey
- the keyvalue
- the value- Since:
- 3.3
-
processPragma
@Deprecated void processPragma(java.lang.String key, java.lang.Object value)
Deprecated.3.3Process one pragma.Never called in 3.3, must be implemented for 3.2 binary compatibility reasons.
Typical implementation in 3.3:
@Override public void processPragma(String key, Object value) { processPragma(null, key, value); }
- Parameters:
key
- the keyvalue
- the value
-
-