Package org.wso2.carbon.logging.service
Enum LoggingConstants.LogType
- java.lang.Object
-
- java.lang.Enum<LoggingConstants.LogType>
-
- org.wso2.carbon.logging.service.LoggingConstants.LogType
-
- All Implemented Interfaces:
Serializable,Comparable<LoggingConstants.LogType>
- Enclosing class:
- LoggingConstants
public static enum LoggingConstants.LogType extends Enum<LoggingConstants.LogType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoggingConstants.LogTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LoggingConstants.LogType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUDIT
public static final LoggingConstants.LogType AUDIT
-
CARBON
public static final LoggingConstants.LogType CARBON
-
-
Method Detail
-
values
public static LoggingConstants.LogType[] 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 (LoggingConstants.LogType c : LoggingConstants.LogType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingConstants.LogType 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
-
-