|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.ext.TreeLogger.Type
A type-safe enum of all possible logging severity types.
Method Summary | |
java.lang.String |
getLabel()
Gets the label for this severity type. |
static TreeLogger.Type[] |
instances()
Gets all the possible severity types as an array. |
boolean |
isLowerPriorityThan(TreeLogger.Type other)
Determines whether this log type is of lower priority than some other log type. |
boolean |
needsAttention()
Indicates whether this severity type represents a high severity that should be highlighted for the user. |
java.lang.String |
toString()
|
static TreeLogger.Type |
valueOf(java.lang.String label)
Looks up a severity type by label. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static TreeLogger.Type[] instances()
public static TreeLogger.Type valueOf(java.lang.String label)
label
- the label of the desired severity
label
, or
null
if no such type existspublic java.lang.String getLabel()
public boolean isLowerPriorityThan(TreeLogger.Type other)
other
- the other log type
true
if this log type is lower prioritypublic boolean needsAttention()
true
if this severity is high, otherwise
false
.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |