- java.lang.Object
-
- java.lang.Enum<PropertyComponent>
-
- org.apache.logging.log4j.spi.PropertyComponent
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyComponent>
public enum PropertyComponent extends Enum<PropertyComponent>
Components that own properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyComponent.Constant
These constants are only for use in LoggingSystemProperty to create constants for @SetSystemProperty.
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNC_LOGGER
ASYNC_LOGGER_CONFIG
CONFIGURATION
CONSOLE
GC
JANSI
JMX
JNDI
JUL
LOADER
LOG4J
LOG4J1
LOGGER
LOGGER_CONTEXT
MESSAGE
SCRIPT
SIMPLE_LOGGER
STATUS_LOGGER
SYSTEM
THREAD_CONTEXT
THREAD_LOCALs
TRANSPORT_SECURITY
UUID
WEB
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
static PropertyComponent
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyComponent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASYNC_LOGGER
public static final PropertyComponent ASYNC_LOGGER
-
ASYNC_LOGGER_CONFIG
public static final PropertyComponent ASYNC_LOGGER_CONFIG
-
CONFIGURATION
public static final PropertyComponent CONFIGURATION
-
CONSOLE
public static final PropertyComponent CONSOLE
-
GC
public static final PropertyComponent GC
-
JANSI
public static final PropertyComponent JANSI
-
JMX
public static final PropertyComponent JMX
-
JNDI
public static final PropertyComponent JNDI
-
JUL
public static final PropertyComponent JUL
-
LOADER
public static final PropertyComponent LOADER
-
LOG4J
public static final PropertyComponent LOG4J
-
LOG4J1
public static final PropertyComponent LOG4J1
-
LOGGER
public static final PropertyComponent LOGGER
-
LOGGER_CONTEXT
public static final PropertyComponent LOGGER_CONTEXT
-
MESSAGE
public static final PropertyComponent MESSAGE
-
SCRIPT
public static final PropertyComponent SCRIPT
-
SIMPLE_LOGGER
public static final PropertyComponent SIMPLE_LOGGER
-
STATUS_LOGGER
public static final PropertyComponent STATUS_LOGGER
-
SYSTEM
public static final PropertyComponent SYSTEM
-
THREAD_CONTEXT
public static final PropertyComponent THREAD_CONTEXT
-
THREAD_LOCALs
public static final PropertyComponent THREAD_LOCALs
-
TRANSPORT_SECURITY
public static final PropertyComponent TRANSPORT_SECURITY
-
UUID
public static final PropertyComponent UUID
-
WEB
public static final PropertyComponent WEB
-
-
Method Detail
-
values
public static PropertyComponent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PropertyComponent c : PropertyComponent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyComponent valueOf(String name)
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
-
getName
public String getName()
-
-