Enum Class ProgressBean.Type
- All Implemented Interfaces:
Serializable, Comparable<ProgressBean.Type>, Constable
- Enclosing class:
ProgressBean
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe task is cancelled.The task is completed.The task has failed.The task is not started yet.The task is running and is currently doing something that can be stated absolutely (e.g.The task is running and is currently doing something that can not be stated absolutely (e.g. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFinal()static ProgressBean.TypeReturns the enum constant of this class with the specified name.static ProgressBean.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
The task is not started yet. -
RUNNING_INFINITE
The task is running and is currently doing something that can not be stated absolutely (e.g. "extracting archive", "cleaning up", ...) -
RUNNING_ABSOLUTE
The task is running and is currently doing something that can be stated absolutely (e.g. "34 of 212 files imported", "2 of 9 mails sent", ...) -
CANCELLED
The task is cancelled. -
COMPLETED
The task is completed. -
FAILED
The task has failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isFinal
public boolean isFinal()
-