Annotation Interface Option.AllowedValue
- Enclosing class:
Option
@Target(METHOD)
@Inherited
@Retention(CLASS)
@Repeatable(Option.AllowedValues.class)
public static @interface Option.AllowedValue
Defines one possible value for an option.
For enum options, an allowed value that matches the lower-case
Enum.name() is also accepted. The
explicitly declared allowed value is retained in generated configuration metadata.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDescription of this value, used in documentation, may be used in error handling.Value of the option.
-
Element Details
-
value
-
description
String descriptionDescription of this value, used in documentation, may be used in error handling.- Returns:
- description
-