public static enum CentralLogger.MdcVar extends java.lang.Enum<CentralLogger.MdcVar>
| Enum Constant and Description |
|---|
FWD_ACCOUNT
The FWD account.
|
OS_USER
The OS user.
|
PID
The process id.
|
SESSION_ID
The session ID.
|
THREAD_ID
The thread ID.
|
THREAD_NAME
The thread name.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
key
The name of the key.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Returns the key name.
|
java.lang.String |
toString()
Returns the string representation of the enum entry, that is the key name.
|
static CentralLogger.MdcVar |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CentralLogger.MdcVar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CentralLogger.MdcVar PID
public static final CentralLogger.MdcVar OS_USER
public static final CentralLogger.MdcVar THREAD_NAME
public static final CentralLogger.MdcVar THREAD_ID
public static final CentralLogger.MdcVar SESSION_ID
public static final CentralLogger.MdcVar FWD_ACCOUNT
public static CentralLogger.MdcVar[] values()
for (CentralLogger.MdcVar c : CentralLogger.MdcVar.values()) System.out.println(c);
public static CentralLogger.MdcVar valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getKey()
public java.lang.String toString()
toString in class java.lang.Enum<CentralLogger.MdcVar>