public enum LogLocation extends java.lang.Enum<LogLocation>
Modifier and Type | Method and Description |
---|---|
boolean |
toLogFile() |
boolean |
toMessager() |
static LogLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLocation MESSAGER
public static final LogLocation LOG_FILE
public static final LogLocation BOTH
public static LogLocation[] values()
for (LogLocation c : LogLocation.values()) System.out.println(c);
public static LogLocation 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 namejava.lang.NullPointerException
- if the argument is nullpublic boolean toMessager()
public boolean toLogFile()