|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Level>
org.apache.karaf.shell.log.Level
public enum Level
Enumeration of available log levels for the log:set command and the command completer
Enum Constant Summary | |
---|---|
DEBUG
|
|
DEFAULT
|
|
ERROR
|
|
INFO
|
|
TRACE
|
|
WARN
|
Method Summary | |
---|---|
static boolean |
isDefault(java.lang.String level)
Check if the string value represents the default level |
static java.lang.String[] |
strings()
Convert the list of values into a String array |
static Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Level[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Level TRACE
public static final Level DEBUG
public static final Level INFO
public static final Level WARN
public static final Level ERROR
public static final Level DEFAULT
Method Detail |
---|
public static Level[] values()
for (Level c : Level.values()) System.out.println(c);
public static Level valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static java.lang.String[] strings()
public static boolean isDefault(java.lang.String level)
level
- the level value
true
if the value represents the DEFAULT
level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |