EnumOptions to identify an input value.
When parsing a given input, values will be compared against one of the properties and if there's a match, the
corresponding enumeration value will be used to set the field of an annotated class.
| Modifier and Type | Field and Description |
|---|---|
| public static final EnumSelector | CUSTOM_FIELD
Matches the value of a field of the annotated enumeration |
| public static final EnumSelector | CUSTOM_METHOD
Matches the value of a method of the annotated enumeration |
| public static final EnumSelector | NAME
Matches the result of |
| public static final EnumSelector | ORDINAL
Matches the result of |
| public static final EnumSelector | STRING
Matches the result of |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static EnumSelector | |
| public static EnumSelector[] |
| CUSTOM_FIELD | back to summary |
|---|---|
| public static final EnumSelector CUSTOM_FIELD Matches the value of a field of the annotated enumeration | |
| CUSTOM_METHOD | back to summary |
|---|---|
| public static final EnumSelector CUSTOM_METHOD Matches the value of a method of the annotated enumeration | |
| NAME | back to summary |
|---|---|
| public static final EnumSelector NAME Matches the result of | |
| ORDINAL | back to summary |
|---|---|
| public static final EnumSelector ORDINAL Matches the result of | |
| STRING | back to summary |
|---|---|
| public static final EnumSelector STRING Matches the result of | |
| EnumSelector | back to summary |
|---|---|
| private EnumSelector() | |
| valueOf | back to summary |
|---|---|
| public static EnumSelector valueOf(String name) | |
| values | back to summary |
|---|---|
| public static EnumSelector[] values() | |