@InterfaceAudience.Private @InterfaceStability.Unstable public enum SignalLogger extends Enum<SignalLogger>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
register(org.apache.commons.logging.Log LOG)
Register some signal handlers.
|
static SignalLogger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignalLogger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalLogger INSTANCE
public static SignalLogger[] values()
for (SignalLogger c : SignalLogger.values()) System.out.println(c);
public static SignalLogger 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 void register(org.apache.commons.logging.Log LOG)
LOG - The log4j logfile to use in the signal handlers.Copyright © 2013 Apache Software Foundation. All rights reserved.