edu.stanford.nlp.util.logging
Enum Redwood.Flag
java.lang.Object
java.lang.Enum<Redwood.Flag>
edu.stanford.nlp.util.logging.Redwood.Flag
- All Implemented Interfaces:
- Serializable, Comparable<Redwood.Flag>
- Enclosing class:
- Redwood
protected static enum Redwood.Flag
- extends Enum<Redwood.Flag>
Standard channels; enum for the sake of efficiency
Method Summary |
static Redwood.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Redwood.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
ERROR
public static final Redwood.Flag ERROR
WARN
public static final Redwood.Flag WARN
DEBUG
public static final Redwood.Flag DEBUG
STDOUT
public static final Redwood.Flag STDOUT
STDERR
public static final Redwood.Flag STDERR
FORCE
public static final Redwood.Flag FORCE
values
public static Redwood.Flag[] 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 (Redwood.Flag c : Redwood.Flag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Redwood.Flag valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Stanford NLP Group