public enum BooleanOption extends java.lang.Enum<BooleanOption>
Modifier and Type | Method and Description |
---|---|
boolean |
isTrue()
Check for true.
|
boolean |
isUnset()
Check for unset.
|
static BooleanOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BooleanOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BooleanOption TRUE
public static final BooleanOption FALSE
public static final BooleanOption UNSET
public static BooleanOption[] values()
for (BooleanOption c : BooleanOption.values()) System.out.println(c);
public static BooleanOption 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 nullpublic boolean isTrue()
public boolean isUnset()