public static enum Config.FieldPresence extends Enum<Config.FieldPresence>
| Enum Constant and Description |
|---|
MANDATORY
Signifies that config field is mandatory.
|
OPTIONAL
Signifies that config field is an optional one.
|
| Modifier and Type | Method and Description |
|---|---|
static Config.FieldPresence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Config.FieldPresence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.FieldPresence OPTIONAL
public static final Config.FieldPresence MANDATORY
public static Config.FieldPresence[] values()
for (Config.FieldPresence c : Config.FieldPresence.values()) System.out.println(c);
public static Config.FieldPresence valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null