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

  Modifier and Type
  Method
  Description
  `void`
  `processPragma(String key, Object value)`
  Deprecated.
  3.3
  `default void`
  `processPragma(JexlOptions opts, String key, Object value)`
  Process one pragma.

- ## Method Details

  - ### processPragma

    default void processPragma(JexlOptions opts, String key, Object value)
    Process one pragma.
    Parameters:
      `opts` - the current evaluator options.
      `key` - the key.
      `value` - the value.
    Since:
      3.3

  - ### processPragma

    @Deprecated void processPragma(String key, Object value)
    Deprecated.
    3.3
    Process 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 key.
      `value` - the value.