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

public static enum TLspTaskExecutorEvent.Type extends Enum<TLspTaskExecutorEvent.Type>
Defines the type of a TLspTaskExecutorEvent
Since:
2012.0
  • Enum Constant Details

    • STARTED

      public static final TLspTaskExecutorEvent.Type STARTED
      Indicates that a task has started
    • FINISHED

      public static final TLspTaskExecutorEvent.Type FINISHED
      Indicates that a task has finished successfully
    • INTERRUPTED

      public static final TLspTaskExecutorEvent.Type INTERRUPTED
      Indicates that a task has not finished successfully. This can be either because it was cancelled or interrupted in any other way.
    • EXCEPTION

      public static final TLspTaskExecutorEvent.Type EXCEPTION
      Indicates that an exception was thrown during the running of the task.
  • Method Details

    • values

      public static TLspTaskExecutorEvent.Type[] 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

      public static TLspTaskExecutorEvent.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null