@Deprecated public final class Priority extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Priority |
DEBUG
Deprecated.
Developer orientated messages, usually used during development of product.
|
static Priority |
ERROR
Deprecated.
A problem has occurred but it is not fatal.
|
static Priority |
FATAL_ERROR
Deprecated.
Something caused whole system to fail.
|
static Priority |
INFO
Deprecated.
Useful information messages such as state changes, client connection, user login etc.
|
static Priority |
NONE
Deprecated.
Do not log anything.
|
static Priority |
WARN
Deprecated.
A problem or conflict has occurred but it may be recoverable, then
again it could be the start of the system failing.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
Get name of priority.
|
static Priority |
getPriorityForName(String priority)
Deprecated.
Retrieve a Priority object for the name parameter.
|
int |
getValue()
Deprecated.
Get numerical value associated with priority.
|
boolean |
isGreater(Priority other)
Deprecated.
Test whether this priority is greater than other priority.
|
boolean |
isLower(Priority other)
Deprecated.
Test whether this priority is lower than other priority.
|
boolean |
isLowerOrEqual(Priority other)
Deprecated.
Test whether this priority is lower or equal to other priority.
|
String |
toString()
Deprecated.
Overridden string to display Priority in human readable form.
|
public static final Priority DEBUG
public static final Priority INFO
public static final Priority WARN
public static final Priority ERROR
public static final Priority FATAL_ERROR
public static final Priority NONE
public static Priority getPriorityForName(String priority)
priority
- the priority namepublic String toString()
public int getValue()
public String getName()
public boolean isGreater(Priority other)
other
- the other Prioritypublic boolean isLower(Priority other)
other
- the other Prioritypublic boolean isLowerOrEqual(Priority other)
other
- the other PriorityCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.