public enum ProgressMode extends Enum<ProgressMode>
Progress.beginJob()
calls.The GNU Lesser General Public License for details.
Enum Constant and Description |
---|
PERCENT
Progress is working toward 100% and is supplying work from 0 to 100.
|
PREDICTIVE
Progress is predicted on the basis of prior runs.
|
UNITS
Progress is working toward a number of units.
|
UNKNOWN
Progress is entirely indeterminate.
|
Modifier and Type | Method and Description |
---|---|
static ProgressMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgressMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressMode PERCENT
public static final ProgressMode UNITS
public static final ProgressMode PREDICTIVE
public static final ProgressMode UNKNOWN
public static ProgressMode[] values()
for (ProgressMode c : ProgressMode.values()) System.out.println(c);
public static ProgressMode 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 null