public enum Feature extends Enum<Feature>
Enum Constant and Description |
---|
AUTODETECT
Feature should be present if autodetect heuristics determines that it should be enables.
|
DISABLE
Feature should not be present.
|
ENABLE
Feature should be present.
|
Modifier and Type | Method and Description |
---|---|
static Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature AUTODETECT
public static Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature 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