Package org.jboss.as.logging
Enum LoggingModuleDependency
- java.lang.Object
-
- java.lang.Enum<LoggingModuleDependency>
-
- org.jboss.as.logging.LoggingModuleDependency
-
- All Implemented Interfaces:
Serializable,Comparable<LoggingModuleDependency>
public enum LoggingModuleDependency extends Enum<LoggingModuleDependency>
Describes a module dependency.- Author:
- James R. Perkins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APACHE_COMMONS_LOGGINGJBOSS_LOG_MANAGERJBOSS_LOGGINGJUL_TO_SLF4JLOG4J2SLF4JSLF4J_IMPL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetModuleName()The module name.static RuntimePackageDependency[]getRuntimeDependencies()An array of the runtime dependencies.booleanisImportServices()Indicates whether or not services should be imported.static LoggingModuleDependencyvalueOf(String name)Returns the enum constant of this type with the specified name.static LoggingModuleDependency[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APACHE_COMMONS_LOGGING
public static final LoggingModuleDependency APACHE_COMMONS_LOGGING
-
LOG4J2
public static final LoggingModuleDependency LOG4J2
-
JBOSS_LOGGING
public static final LoggingModuleDependency JBOSS_LOGGING
-
JUL_TO_SLF4J
public static final LoggingModuleDependency JUL_TO_SLF4J
-
JBOSS_LOG_MANAGER
public static final LoggingModuleDependency JBOSS_LOG_MANAGER
-
SLF4J
public static final LoggingModuleDependency SLF4J
-
SLF4J_IMPL
public static final LoggingModuleDependency SLF4J_IMPL
-
-
Method Detail
-
values
public static LoggingModuleDependency[] 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 (LoggingModuleDependency c : LoggingModuleDependency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingModuleDependency 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
-
getModuleName
public String getModuleName()
The module name.- Returns:
- the module name
-
isImportServices
public boolean isImportServices()
Indicates whether or not services should be imported.- Returns:
trueif services from the module should be imported
-
getRuntimeDependencies
public static RuntimePackageDependency[] getRuntimeDependencies()
An array of the runtime dependencies.- Returns:
- the runtime dependencies
-
-