SMILA (incubation) API documentation

org.eclipse.smila.taskmanager
Enum TaskCompletionStatus

java.lang.Object
  extended by java.lang.Enum<TaskCompletionStatus>
      extended by org.eclipse.smila.taskmanager.TaskCompletionStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TaskCompletionStatus>

public enum TaskCompletionStatus
extends java.lang.Enum<TaskCompletionStatus>

The completion status of a task.


Enum Constant Summary
FATAL_ERROR
          A fatal error occurred during processing.
OBSOLETE
          This task is not yet processed, but not needed anymore.
POSTPONE
          This task cannot be processed, it must be redelivered.
RECOVERABLE_ERROR
          A recoverable error occurred during processing.
SUCCESSFUL
          Successfully processed.
 
Method Summary
static TaskCompletionStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TaskCompletionStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESSFUL

public static final TaskCompletionStatus SUCCESSFUL
Successfully processed.


FATAL_ERROR

public static final TaskCompletionStatus FATAL_ERROR
A fatal error occurred during processing.


RECOVERABLE_ERROR

public static final TaskCompletionStatus RECOVERABLE_ERROR
A recoverable error occurred during processing.


OBSOLETE

public static final TaskCompletionStatus OBSOLETE
This task is not yet processed, but not needed anymore.


POSTPONE

public static final TaskCompletionStatus POSTPONE
This task cannot be processed, it must be redelivered.

Method Detail

values

public static TaskCompletionStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TaskCompletionStatus c : TaskCompletionStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TaskCompletionStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

SMILA (incubation) API documentation