public static enum LogMessage.Stream extends Enum<LogMessage.Stream>
| Modifier and Type | Field and Description |
|---|---|
private int |
id |
| Modifier and Type | Method and Description |
|---|---|
int |
id() |
static LogMessage.Stream |
of(int id) |
static LogMessage.Stream |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogMessage.Stream[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogMessage.Stream STDIN
public static final LogMessage.Stream STDOUT
public static final LogMessage.Stream STDERR
public static LogMessage.Stream[] values()
for (LogMessage.Stream c : LogMessage.Stream.values()) System.out.println(c);
public static LogMessage.Stream 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 int id()
public static LogMessage.Stream of(int id)
Copyright © 2015. All rights reserved.