Package com.ppm.logging.configuration
Enum ConfigurationKey
- java.lang.Object
-
- java.lang.Enum<ConfigurationKey>
-
- com.ppm.logging.configuration.ConfigurationKey
-
- All Implemented Interfaces:
Serializable,Comparable<ConfigurationKey>
public enum ConfigurationKey extends Enum<ConfigurationKey>
Configuration Key- Author:
- pedrotoliveira
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static ConfigurationKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static ConfigurationKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOT_LEVEL
public static final ConfigurationKey ROOT_LEVEL
-
CONSOLE_ENABLED
public static final ConfigurationKey CONSOLE_ENABLED
-
CONSOLE_LEVEL
public static final ConfigurationKey CONSOLE_LEVEL
-
CONSOLE_PACKAGES
public static final ConfigurationKey CONSOLE_PACKAGES
-
CONSOLE_PATTERN_LAYOUT
public static final ConfigurationKey CONSOLE_PATTERN_LAYOUT
-
CONSOLE_IGNORE_EX
public static final ConfigurationKey CONSOLE_IGNORE_EX
-
CONSOLE_TARGET
public static final ConfigurationKey CONSOLE_TARGET
-
FILE_ENABLED
public static final ConfigurationKey FILE_ENABLED
-
FILE_LEVEL
public static final ConfigurationKey FILE_LEVEL
-
FILE_PACKAGES
public static final ConfigurationKey FILE_PACKAGES
-
FILE_PATTERN_LAYOUT
public static final ConfigurationKey FILE_PATTERN_LAYOUT
-
FILE_APPEND
public static final ConfigurationKey FILE_APPEND
-
FILE_CREATE_ON_DEMAND
public static final ConfigurationKey FILE_CREATE_ON_DEMAND
-
FILE_PATTERN
public static final ConfigurationKey FILE_PATTERN
-
REMOTE_ENABLED
public static final ConfigurationKey REMOTE_ENABLED
-
REMOTE_LEVEL
public static final ConfigurationKey REMOTE_LEVEL
-
REMOTE_PACKAGES
public static final ConfigurationKey REMOTE_PACKAGES
-
REMOTE_PATTERN_LAYOUT
public static final ConfigurationKey REMOTE_PATTERN_LAYOUT
-
-
Method Detail
-
values
public static ConfigurationKey[] 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 (ConfigurationKey c : ConfigurationKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationKey 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()
-
-