Package org.wildfly.common.expression
Enum Expression.Flag
- All Implemented Interfaces:
Serializable,Comparable<Expression.Flag>,java.lang.constant.Constable
- Enclosing class:
- Expression
Flags that can apply to a property expression compilation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTreat expressions containing a double-colon delimiter as special, encoding the entire content into the key.Support standard escape sequences in plain text and default value fields, which begin with a backslash ("\") character.SupportPolicyfile style "general" expansion alternate expression syntax.Ignore syntax problems instead of throwing an exception.Support single-character expressions that can be interpreted without wrapping in curly braces.Do not support recursion in default values.Do not support recursive expression expansion in the key part of the expression.Do not support smart braces.Do not trim leading and trailing whitespace off of the expression string before parsing it. -
Method Summary
Modifier and TypeMethodDescriptionstatic Expression.FlagReturns the enum constant of this type with the specified name.static Expression.Flag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NO_TRIM
Do not trim leading and trailing whitespace off of the expression string before parsing it. -
LENIENT_SYNTAX
Ignore syntax problems instead of throwing an exception. -
MINI_EXPRS
Support single-character expressions that can be interpreted without wrapping in curly braces. -
NO_RECURSE_KEY
Do not support recursive expression expansion in the key part of the expression. -
NO_RECURSE_DEFAULT
Do not support recursion in default values. -
NO_SMART_BRACES
Do not support smart braces. -
GENERAL_EXPANSION
SupportPolicyfile 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
Support standard escape sequences in plain text and default value fields, which begin with a backslash ("\") character. -
DOUBLE_COLON
Treat expressions containing a double-colon delimiter as special, encoding the entire content into the key.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-