public static enum Config.FieldPresence extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null