|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.puppycrawl.tools.checkstyle.api.SeverityLevel
Severity level for a check violation.
Each violation of an audit check is assigned one of the severity levels defined here.
Field Summary | |
static SeverityLevel |
ERROR
Severity level: error. |
static SeverityLevel |
IGNORE
Severity level: ignore. |
static SeverityLevel |
INFO
Severity level: informational. |
static SeverityLevel |
WARNING
Severity level: warning. |
Method Summary | |
int |
compareTo(java.lang.Object aObject)
|
boolean |
equals(java.lang.Object aObj)
The equals method. |
static SeverityLevel |
getInstance(java.lang.String aSeverityName)
SeverityLevel factory method. |
java.lang.String |
getName()
|
int |
hashCode()
The hashCode method. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final SeverityLevel IGNORE
public static final SeverityLevel INFO
public static final SeverityLevel WARNING
public static final SeverityLevel ERROR
Method Detail |
public java.lang.String toString()
Object
public java.lang.String getName()
public int compareTo(java.lang.Object aObject)
compareTo
in interface java.lang.Comparable
Comparable
public boolean equals(java.lang.Object aObj)
aObj
- Object to compare to.
true
means equal, false
means
not equal.public int hashCode()
public static SeverityLevel getInstance(java.lang.String aSeverityName)
aSeverityName
- severity name, such as "ignore", "info", etc.
SeverityLevel
associated with
aSeverityName
|
Back to the Checkstyle Home Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |