Package org.wildfly.core.embedded
Enum Configuration.LoggerHint
- java.lang.Object
-
- java.lang.Enum<Configuration.LoggerHint>
-
- org.wildfly.core.embedded.Configuration.LoggerHint
-
- All Implemented Interfaces:
Serializable,Comparable<Configuration.LoggerHint>
- Enclosing interface:
- Configuration
public static enum Configuration.LoggerHint extends Enum<Configuration.LoggerHint>
Hints which logger provider should be used.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTJBOSS_LOG_MANAGERJULLOG4J2LOGBACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProviderCode()The provider code for the JBoss Logging provider.static Configuration.LoggerHintvalueOf(String name)Returns the enum constant of this type with the specified name.static Configuration.LoggerHint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final Configuration.LoggerHint DEFAULT
-
JBOSS_LOG_MANAGER
public static final Configuration.LoggerHint JBOSS_LOG_MANAGER
-
LOG4J2
public static final Configuration.LoggerHint LOG4J2
-
LOGBACK
public static final Configuration.LoggerHint LOGBACK
-
JUL
public static final Configuration.LoggerHint JUL
-
-
Method Detail
-
values
public static Configuration.LoggerHint[] 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 (Configuration.LoggerHint c : Configuration.LoggerHint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Configuration.LoggerHint 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
-
getProviderCode
public String getProviderCode()
The provider code for the JBoss Logging provider.- Returns:
- the provider code
-
-