| Enum Constant and Description |
|---|
AUTODETECT
Feature should be present if supporting infrastructure is detected.
|
DISABLE
Feature should not be present.
|
ENABLE
Feature should be present.
|
| Modifier and Type | Method and Description |
|---|---|
static Feature |
valueOf(java.lang.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 ENABLE
public static final Feature DISABLE
public static final Feature AUTODETECT
public static Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature 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