Package org.jboss.logmanager.formatters
Enum FormatStep.ItemType
- All Implemented Interfaces:
Serializable,Comparable<FormatStep.ItemType>
- Enclosing interface:
- FormatStep
An enumeration of the types of items that can be rendered. Note that this enumeration may be expanded
in the future, so unknown values should be handled gracefully as if
GENERIC were used.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA compound step.An item of unknown kind.A log level.The log message without the exception trace. -
Method Summary
Modifier and TypeMethodDescriptionstatic FormatStep.ItemTypeReturns the enum constant of this type with the specified name.static FormatStep.ItemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GENERIC
An item of unknown kind. -
COMPOUND
A compound step. -
LEVEL
A log level. -
SOURCE_CLASS_NAME
-
DATE
-
SOURCE_FILE_NAME
-
HOST_NAME
-
SOURCE_LINE_NUMBER
-
LINE_SEPARATOR
-
CATEGORY
-
MDC
-
MESSAGE
The log message without the exception trace. -
EXCEPTION_TRACE
-
SOURCE_METHOD_NAME
-
SOURCE_MODULE_NAME
-
SOURCE_MODULE_VERSION
-
NDC
-
PROCESS_ID
-
PROCESS_NAME
-
RELATIVE_TIME
-
RESOURCE_KEY
-
SYSTEM_PROPERTY
-
TEXT
-
THREAD_ID
-
THREAD_NAME
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-