public static enum Rule.Severity extends java.lang.Enum<Rule.Severity>
Modifier and Type | Method and Description |
---|---|
static Rule.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rule.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Severity high
public static final Rule.Severity medium
public static final Rule.Severity low
public static Rule.Severity[] values()
for (Rule.Severity c : Rule.Severity.values()) System.out.println(c);
public static Rule.Severity 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 nullCopyright 2009-2015 Tatjana (Tanja) Kostic