@Deprecated public enum RulePriority extends Enum<RulePriority>
Severity| Enum Constant and Description | 
|---|
| BLOCKERDeprecated.  | 
| CRITICALDeprecated.  | 
| INFODeprecated.  WARNING : DO NOT CHANGE THE ENUMERATION ORDER
 the enum ordinal is used for db persistence | 
| MAJORDeprecated.  | 
| MINORDeprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
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
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 nameNullPointerException - if the argument is null@Deprecated public static RulePriority valueOfString(String level)
level - an old priority level : Error or Warningpublic static RulePriority fromCheckPriority(Priority checkPriority)
public static RulePriority valueOfInt(int ordinal)
Copyright © 2009–2016 SonarSource. All rights reserved.