org.apache.geronimo.gshell.command
Enum IO.Verbosity
java.lang.Object
java.lang.Enum<IO.Verbosity>
org.apache.geronimo.gshell.command.IO.Verbosity
- All Implemented Interfaces:
- Serializable, Comparable<IO.Verbosity>
- Enclosing class:
- IO
public static enum IO.Verbosity
- extends Enum<IO.Verbosity>
Defines the valid values of the IO containers verbosity settings.
|
Method Summary |
static IO.Verbosity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IO.Verbosity[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
QUIET
public static final IO.Verbosity QUIET
INFO
public static final IO.Verbosity INFO
VERBOSE
public static final IO.Verbosity VERBOSE
DEBUG
public static final IO.Verbosity DEBUG
values
public static final IO.Verbosity[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(IO.Verbosity c : IO.Verbosity.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static IO.Verbosity valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.