public static enum LogEntry.Type extends Enum<LogEntry.Type>
LogEntry.| Modifier and Type | Method and Description |
|---|---|
char |
getCode() |
static LogEntry.Type |
valueOf(char code) |
static LogEntry.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogEntry.Type USER
public static final LogEntry.Type GROUP
public static final LogEntry.Type TRACK
public static LogEntry.Type[] values()
for (LogEntry.Type c : LogEntry.Type.values()) System.out.println(c);
public static LogEntry.Type 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 char getCode()
@Nonnull public static LogEntry.Type valueOf(char code)
Copyright © 2018. All rights reserved.