JexlUberspect.ClassConstantResolver (Apache Commons JEXL 3.7.0 API)
Description: declaration: package: org.apache.commons.jexl3.introspection, interface: JexlUberspect, interface: ClassConstantResolver

Package org.apache.commons.jexl3.introspection

# Interface JexlUberspect.ClassConstantResolver

All Superinterfaces:
  `JexlUberspect.ClassNameResolver`

Enclosing interface:
  `JexlUberspect`

public static interface JexlUberspect.ClassConstantResolver extends JexlUberspect.ClassNameResolver
A marker interface that solves a class constant by name.

The base implementation uses imports to solve enums and public static final fields.

Since:
  3.6.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `resolveConstant(String name)`
  Resolves a constant by its name.

  ### Methods inherited from interface org.apache.commons.jexl3.introspection.JexlUberspect.ClassNameResolver

  `resolveClassName`

- ## Method Details

  - ### resolveConstant

    Object resolveConstant(String name)
    Resolves a constant by its name.
    Parameters:
      `name` - the constant name, a qualified name
    Returns:
      the constant value or TRY_FAILED if not found