public static enum ConsoleListener.Stream extends Enum<ConsoleListener.Stream>
Modifier and Type | Method and Description |
---|---|
static ConsoleListener.Stream |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleListener.Stream[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleListener.Stream OUT
public static final ConsoleListener.Stream ERR
public static ConsoleListener.Stream[] values()
for (ConsoleListener.Stream c : ConsoleListener.Stream.values()) System.out.println(c);
public static ConsoleListener.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 nullCopyright © 2008-2012 Sonatype. All Rights Reserved.