public enum LogLevelValue extends Enum<LogLevelValue>
Enum Constant and Description |
---|
DEBUG |
DEBUG1 |
DEBUG2 |
DEBUG3 |
ERROR |
FATAL |
INFO |
QUIET |
VERBOSE |
Modifier and Type | Field and Description |
---|---|
static Set<LogLevelValue> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static LogLevelValue |
fromName(String n) |
static LogLevelValue |
valueOf(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.
|
public static final LogLevelValue QUIET
public static final LogLevelValue FATAL
public static final LogLevelValue ERROR
public static final LogLevelValue INFO
public static final LogLevelValue VERBOSE
public static final LogLevelValue DEBUG
public static final LogLevelValue DEBUG1
public static final LogLevelValue DEBUG2
public static final LogLevelValue DEBUG3
public static final Set<LogLevelValue> VALUES
public static LogLevelValue[] values()
for (LogLevelValue c : LogLevelValue.values()) System.out.println(c);
public static LogLevelValue valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static LogLevelValue fromName(String n)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.