Package org.apache.sshd.common.config
Enum LogLevelValue
- java.lang.Object
-
- java.lang.Enum<LogLevelValue>
-
- org.apache.sshd.common.config.LogLevelValue
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LogLevelValue>
public enum LogLevelValue extends java.lang.Enum<LogLevelValue>
- See Also:
- LogLevel configuration value
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.logging.Level
level
static java.util.Set<LogLevelValue>
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
LogLevelValue(java.util.logging.Level level)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogLevelValue
fromName(java.lang.String n)
java.util.logging.Level
getLoggingLevel()
static LogLevelValue
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogLevelValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUIET
public static final LogLevelValue QUIET
-
FATAL
public static final LogLevelValue FATAL
-
ERROR
public static final LogLevelValue ERROR
-
INFO
public static final LogLevelValue INFO
-
VERBOSE
public static final LogLevelValue VERBOSE
-
DEBUG
public static final LogLevelValue DEBUG
-
DEBUG1
public static final LogLevelValue DEBUG1
-
DEBUG2
public static final LogLevelValue DEBUG2
-
DEBUG3
public static final LogLevelValue DEBUG3
-
-
Field Detail
-
VALUES
public static final java.util.Set<LogLevelValue> VALUES
-
level
private final java.util.logging.Level level
-
-
Method Detail
-
values
public static LogLevelValue[] 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 (LogLevelValue c : LogLevelValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogLevelValue valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getLoggingLevel
public java.util.logging.Level getLoggingLevel()
-
fromName
public static LogLevelValue fromName(java.lang.String n)
-
-