Enum Class RunState
- All Implemented Interfaces:
Serializable
,Comparable<RunState>
,Constable
Run state used for schedule tasks.
- Since:
- 4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTask execution aborted.Task execution finished with errors, e.g. caused by: Task execution exited with anException
. Error threshold overrun (GenerateTask.setErrorThreshold(long)
). Warning threshold overrun (GenerateTask.setWarningThreshold(long)
). A fatal error was logged during execution of theGenerateTask
.Task execution finished with errors, e.g. to signal that errors were logged during execution of aGenerateTask
(anderror
andwarning threshold
were not exceeded).Task has not been started.Task running.Task execution finished successfully. -
Method Summary
-
Enum Constant Details
-
NOT_STARTED
Task has not been started.- Since:
- 4.0
-
RUNNING
Task running.- Since:
- 4.0
-
ABORTED
Task execution aborted.- Since:
- 4.0
-
ERROR
Task execution finished with errors, e.g. caused by:- Task execution exited with an
Exception
. - Error threshold overrun (
GenerateTask.setErrorThreshold(long)
). - Warning threshold overrun (
GenerateTask.setWarningThreshold(long)
). - A fatal error was logged during execution of the
GenerateTask
.
- Since:
- 4.0
- Task execution exited with an
-
SUCCESS
Task execution finished successfully.- Since:
- 4.0
-
FINISHED_WITH_ERRORS
Task execution finished with errors, e.g. to signal that errors were logged during execution of aGenerateTask
(anderror
andwarning threshold
were not exceeded).- Since:
- 4.0
-
-
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
-