public static interface JexlContext.PragmaProcessor
Modifier and Type | Method and Description |
---|---|
default void |
processPragma(JexlOptions opts,
String key,
Object value)
Process one pragma.
|
void |
processPragma(String key,
Object value)
Deprecated.
3.3
|
@Deprecated void processPragma(String key, Object value)
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);
}
key
- the keyvalue
- the valuedefault void processPragma(JexlOptions opts, String key, Object value)
opts
- the current evaluator optionskey
- the keyvalue
- the valueCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.