|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.lang.Enum
net.dpml.lang.ValuedEnum
net.dpml.metro.info.Priority
public final class Priority
Logging priority enumeration.
| Field Summary | |
|---|---|
static Priority |
DEBUG
DEBUG logging priority. |
static Priority |
ERROR
ERROR logging priority. |
static Priority |
INFO
INFO logging priority. |
static Priority |
TRACE
DEBUG logging priority. |
static Priority |
WARN
WARN logging priority. |
| Method Summary | |
|---|---|
static Priority |
parse(String value)
Parse the supplied value into a logging priority constant. |
String |
toString()
Return a string representation of the priority constant. |
static Priority[] |
values()
Returns an array of priority enum values. |
| Methods inherited from class net.dpml.lang.ValuedEnum |
|---|
compareTo, equals, getValue, hashCode, isEqualTo, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual |
| Methods inherited from class net.dpml.lang.Enum |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Priority ERROR
public static final Priority WARN
public static final Priority INFO
public static final Priority DEBUG
public static final Priority TRACE
| Method Detail |
|---|
public static Priority[] values()
public static Priority parse(String value)
throws IllegalArgumentException
value - the value to parse
IllegalArgumentException - if the value cannot be mapped
to a logging priority enumeration namepublic String toString()
toString in class ValuedEnum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||