public static enum RuleType.Kind extends Enum<RuleType.Kind>
Enum Constant and Description |
---|
BUILD
Build rule types can be used during the build to produce build artifacts.
|
CONFIGURATION
Configuration rule types can be used during configuration phase.
|
Modifier and Type | Method and Description |
---|---|
static RuleType.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleType.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleType.Kind BUILD
public static final RuleType.Kind CONFIGURATION
public static RuleType.Kind[] values()
for (RuleType.Kind c : RuleType.Kind.values()) System.out.println(c);
public static RuleType.Kind 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