com.github.dakusui.cmd.io
Enum LoggerLineWriter
java.lang.Object
java.lang.Enum<LoggerLineWriter>
com.github.dakusui.cmd.io.LoggerLineWriter
- All Implemented Interfaces:
- LineWriter, Serializable, Comparable<LoggerLineWriter>
public enum LoggerLineWriter
- extends Enum<LoggerLineWriter>
- implements LineWriter
| Methods inherited from interface com.github.dakusui.cmd.io.LineWriter |
write |
ERROR
public static final LoggerLineWriter ERROR
WARN
public static final LoggerLineWriter WARN
INFO
public static final LoggerLineWriter INFO
DEBUG
public static final LoggerLineWriter DEBUG
TRACE
public static final LoggerLineWriter TRACE
values
public static LoggerLineWriter[] 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 (LoggerLineWriter c : LoggerLineWriter.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LoggerLineWriter 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
Copyright © 2016. All rights reserved.