Enum Class TLspTaskExecutorEvent.Type
java.lang.Object
java.lang.Enum<TLspTaskExecutorEvent.Type>
com.luciad.view.lightspeed.services.asynchronous.TLspTaskExecutorEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<TLspTaskExecutorEvent.Type>
,Constable
- Enclosing class:
TLspTaskExecutorEvent
Defines the type of a
TLspTaskExecutorEvent
- Since:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that an exception was thrown during the running of the task.Indicates that a task has finished successfullyIndicates that a task has not finished successfully.Indicates that a task has started -
Method Summary
Modifier and TypeMethodDescriptionstatic TLspTaskExecutorEvent.Type
Returns the enum constant of this class with the specified name.static TLspTaskExecutorEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTED
Indicates that a task has started -
FINISHED
Indicates that a task has finished successfully -
INTERRUPTED
Indicates that a task has not finished successfully. This can be either because it was cancelled or interrupted in any other way. -
EXCEPTION
Indicates that an exception was thrown during the running of the task.
-
-
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
-