public static enum Feature.Support extends Enum<Feature.Support>
Enum Constant and Description |
---|
optional |
recommended |
required |
Modifier and Type | Method and Description |
---|---|
boolean |
isNotRequired() |
boolean |
isRequired() |
static Feature.Support |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature.Support[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature.Support optional
public static final Feature.Support recommended
public static final Feature.Support required
public static Feature.Support[] values()
for (Feature.Support c : Feature.Support.values()) System.out.println(c);
public static Feature.Support 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 isRequired()
public boolean isNotRequired()