public enum ProgressInfo extends java.lang.Enum<ProgressInfo>
Enum Constant and Description |
---|
BASIC
Reports progress as "." and prints percentage amount every 10%
|
BASIC_FLUSH_EVERY_10_PERCENT
this options limits the flushing of outstreams, because some clients create new lines on every flush.
|
DETAILED
Reports progress including message of current activity
|
NONE |
Modifier and Type | Method and Description |
---|---|
static ProgressInfo |
fromString(java.lang.String info) |
static ProgressInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProgressInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressInfo NONE
public static final ProgressInfo BASIC
public static final ProgressInfo BASIC_FLUSH_EVERY_10_PERCENT
public static final ProgressInfo DETAILED
public static ProgressInfo[] values()
for (ProgressInfo c : ProgressInfo.values()) System.out.println(c);
public static ProgressInfo valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ProgressInfo fromString(java.lang.String info)