public static enum LoggerContext.Status extends Enum<LoggerContext.Status>
Enum Constant and Description |
---|
INITIALIZED
Initialized but not yet started.
|
STARTED
Is active.
|
STARTING
In the process of starting.
|
STOPPED
Has shutdown.
|
STOPPING
Shutdown is in progress.
|
Modifier and Type | Method and Description |
---|---|
static LoggerContext.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggerContext.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerContext.Status INITIALIZED
public static final LoggerContext.Status STARTING
public static final LoggerContext.Status STARTED
public static final LoggerContext.Status STOPPING
public static final LoggerContext.Status STOPPED
public static LoggerContext.Status[] values()
for (LoggerContext.Status c : LoggerContext.Status.values()) System.out.println(c);
public static LoggerContext.Status 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 nullCopyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.