Package org.opensaml.core.metrics
Enum LoggerDrivenMetricFilter.Level
- java.lang.Object
-
- java.lang.Enum<LoggerDrivenMetricFilter.Level>
-
- org.opensaml.core.metrics.LoggerDrivenMetricFilter.Level
-
- All Implemented Interfaces:
Serializable,Comparable<LoggerDrivenMetricFilter.Level>
- Enclosing class:
- LoggerDrivenMetricFilter
public static enum LoggerDrivenMetricFilter.Level extends Enum<LoggerDrivenMetricFilter.Level>
Filtering level, corresponding to available logging levels.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLevel()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoggerDrivenMetricFilter.LevelvalueOf(String name)Returns the enum constant of this type with the specified name.static LoggerDrivenMetricFilter.Level[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRACE
public static final LoggerDrivenMetricFilter.Level TRACE
Trace level.
-
DEBUG
public static final LoggerDrivenMetricFilter.Level DEBUG
Debug level.
-
INFO
public static final LoggerDrivenMetricFilter.Level INFO
Info level.
-
WARN
public static final LoggerDrivenMetricFilter.Level WARN
Warn level.
-
ERROR
public static final LoggerDrivenMetricFilter.Level ERROR
Error level.
-
-
Method Detail
-
values
public static LoggerDrivenMetricFilter.Level[] 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 (LoggerDrivenMetricFilter.Level c : LoggerDrivenMetricFilter.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggerDrivenMetricFilter.Level 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
-
-