public enum LogLocation extends Enum<LogLocation>
| Modifier and Type | Method and Description |
|---|---|
boolean |
toLogFile() |
boolean |
toMessager() |
static LogLocation |
valueOf(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(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 boolean toMessager()
public boolean toLogFile()
Copyright © 2013–2015 Kordamp. All rights reserved.