|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.violations.model.Severity
public final class Severity
Severity levels of violations. These are normalized from the various violation types. PMD was used as the base for the names.
Field Summary | |
---|---|
static java.lang.String |
HIGH
High severity name |
static int |
HIGH_VALUE
High severity value |
static java.lang.String |
LOW
Low severity name |
static int |
LOW_VALUE
Low severity value |
static java.lang.String |
MEDIUM
Medium severity name |
static java.lang.String |
MEDIUM_HIGH
Medium High severity name |
static int |
MEDIUM_HIGH_VALUE
Medium High severity value |
static java.lang.String |
MEDIUM_LOW
Medium Low severity name |
static int |
MEDIUM_LOW_VALUE
Medium Low severity value |
static int |
MEDIUM_VALUE
Medium severity value name |
static java.lang.String[] |
NAMES
Map of number to string |
static int |
NUMBER_SEVERITIES
Number of severity |
Method Summary | |
---|---|
static int |
getSeverityLevel(java.lang.String severity)
Get the level for a particular normalized severity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] NAMES
public static final java.lang.String HIGH
public static final int HIGH_VALUE
public static final java.lang.String MEDIUM_HIGH
public static final int MEDIUM_HIGH_VALUE
public static final java.lang.String MEDIUM
public static final int MEDIUM_VALUE
public static final java.lang.String MEDIUM_LOW
public static final int MEDIUM_LOW_VALUE
public static final java.lang.String LOW
public static final int LOW_VALUE
public static final int NUMBER_SEVERITIES
Method Detail |
---|
public static int getSeverityLevel(java.lang.String severity)
severity
- the value to convert.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |