Enum Expression.Flag

java.lang.Object
java.lang.Enum<Expression.Flag>
org.wildfly.common.expression.Expression.Flag
All Implemented Interfaces:
Serializable, Comparable<Expression.Flag>, java.lang.constant.Constable
Enclosing class:
Expression

public static enum Expression.Flag extends Enum<Expression.Flag>
Flags that can apply to a property expression compilation
  • Enum Constant Details

    • NO_TRIM

      public static final Expression.Flag NO_TRIM
      Do not trim leading and trailing whitespace off of the expression string before parsing it.
    • LENIENT_SYNTAX

      public static final Expression.Flag LENIENT_SYNTAX
      Ignore syntax problems instead of throwing an exception.
    • MINI_EXPRS

      public static final Expression.Flag MINI_EXPRS
      Support single-character expressions that can be interpreted without wrapping in curly braces.
    • NO_RECURSE_KEY

      public static final Expression.Flag NO_RECURSE_KEY
      Do not support recursive expression expansion in the key part of the expression.
    • NO_RECURSE_DEFAULT

      public static final Expression.Flag NO_RECURSE_DEFAULT
      Do not support recursion in default values.
    • NO_SMART_BRACES

      public static final Expression.Flag NO_SMART_BRACES
      Do not support smart braces.
    • GENERAL_EXPANSION

      public static final Expression.Flag GENERAL_EXPANSION
      Support Policy file style "general" expansion alternate expression syntax. "Smart" braces will only work if the opening brace is not the first character in the expression key.
    • ESCAPES

      public static final Expression.Flag ESCAPES
      Support standard escape sequences in plain text and default value fields, which begin with a backslash ("\") character.
    • DOUBLE_COLON

      public static final Expression.Flag DOUBLE_COLON
      Treat expressions containing a double-colon delimiter as special, encoding the entire content into the key.
  • Method Details

    • values

      public static Expression.Flag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Expression.Flag valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null