public enum OptionValue extends Enum<OptionValue>
| Enum Constant and Description |
|---|
INHERITED
Use the inherited option value
|
OFF
Turn off the option
|
ON
Turn on the option
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
toBoolean()
Get the equivalent Boolean value.
|
static OptionValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionValue ON
public static final OptionValue OFF
public static final OptionValue INHERITED
public static OptionValue[] values()
for (OptionValue c : OptionValue.values()) System.out.println(c);
public static OptionValue 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 nullpublic Boolean toBoolean()
Copyright © 2005–2021 dozer. All rights reserved.