|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RulePriority>
org.sonar.api.rules.RulePriority
@Deprecated public enum RulePriority
Severity| Enum Constant Summary | |
|---|---|
BLOCKER
Deprecated. |
|
CRITICAL
Deprecated. |
|
INFO
Deprecated. WARNING : DO NOT CHANGE THE ENUMERATION ORDER the enum ordinal is used for db persistence |
|
MAJOR
Deprecated. |
|
MINOR
Deprecated. |
|
| Method Summary | |
|---|---|
static RulePriority |
fromCheckPriority(Priority checkPriority)
Deprecated. |
static RulePriority |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static RulePriority |
valueOfInt(int ordinal)
Deprecated. |
static RulePriority |
valueOfString(String level)
Deprecated. in 3.6 |
static RulePriority[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RulePriority INFO
public static final RulePriority MINOR
public static final RulePriority MAJOR
public static final RulePriority CRITICAL
public static final RulePriority BLOCKER
| Method Detail |
|---|
public static RulePriority[] values()
for (RulePriority c : RulePriority.values()) System.out.println(c);
public static RulePriority valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null@Deprecated public static RulePriority valueOfString(String level)
level - an old priority level : Error or Warning
public static RulePriority fromCheckPriority(Priority checkPriority)
public static RulePriority valueOfInt(int ordinal)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||