JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
com.github.rvesse.airline
com.github.rvesse.airline.annotations.restrictions
AllowedEnumValues
Contents
Description
Required Element Summary
Element Details
value
Hide sidebar
Show sidebar
Annotation Interface AllowedEnumValues
@Retention
(
RUNTIME
)
@Target
(
FIELD
)
public @interface
AllowedEnumValues
Annotation that marks that the option/arguments are restricted to a given set of raw string values as defined by a given enum type
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
Class
<? extends
Enum
<?>>
value
Sets the enum type from whose values the allowed values are taken
Element Details
value
Class
<? extends
Enum
<?>>
value
Sets the enum type from whose values the allowed values are taken
Returns:
Enum type