|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.danet.an.workflow.api.PrioritizedMessage.Priority
This class represents the priority of a given message. It was taken over from org.apache.log4j.Priority to avoid the dependence of the log4j library.
Field Summary | |
static PrioritizedMessage.Priority |
DEBUG
The DEBUG priority designates fine-grained
informational events that are most useful to debug an
application. |
static PrioritizedMessage.Priority |
ERROR
The ERROR level designates error events that
might still allow the application to continue running. |
static PrioritizedMessage.Priority |
FATAL
The FATAL level designates very severe error
events that will presumably lead the application to abort. |
static PrioritizedMessage.Priority |
INFO
The INFO level designates informational messages
that highlight the progress of the application at coarse-grained
level. |
static PrioritizedMessage.Priority |
WARN
The WARN level designates potentially harmful
situations. |
Constructor Summary | |
protected |
PrioritizedMessage.Priority(int level,
java.lang.String levelStr)
Constructor of the priority of a message. |
Method Summary | |
int |
compareTo(java.lang.Object other)
Implements Comparable . |
java.lang.String |
toString()
Returns the string representation of this priority. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final PrioritizedMessage.Priority DEBUG
DEBUG
priority designates fine-grained
informational events that are most useful to debug an
application.
public static final PrioritizedMessage.Priority INFO
INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.
public static final PrioritizedMessage.Priority WARN
WARN
level designates potentially harmful
situations.
public static final PrioritizedMessage.Priority ERROR
ERROR
level designates error events that
might still allow the application to continue running.
public static final PrioritizedMessage.Priority FATAL
FATAL
level designates very severe error
events that will presumably lead the application to abort.
Constructor Detail |
protected PrioritizedMessage.Priority(int level, java.lang.String levelStr)
level
- the level of the priority.levelStr
- the string representation of the priority.Method Detail |
public java.lang.String toString()
public int compareTo(java.lang.Object other)
Comparable
.
compareTo
in interface java.lang.Comparable
other
- priority to compare with.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |