public static enum Feature.STRATEGY extends Enum<Feature.STRATEGY>
Enum Constant and Description |
---|
INHERIT
Inherit the feature automatically to children.
|
NONE
No strategy.
|
Modifier and Type | Method and Description |
---|---|
static Feature.STRATEGY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature.STRATEGY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature.STRATEGY NONE
public static final Feature.STRATEGY INHERIT
public static Feature.STRATEGY[] values()
for (Feature.STRATEGY c : Feature.STRATEGY.values()) System.out.println(c);
public static Feature.STRATEGY 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 nullCopyright © 2019. All rights reserved.