to.etc.webapp.pendingoperations
Enum PendingOperationState

java.lang.Object
  extended by java.lang.Enum<PendingOperationState>
      extended by to.etc.webapp.pendingoperations.PendingOperationState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PendingOperationState>

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


Enum Constant Summary
BOOT
          Like FAIL the thing has failed miserably and can only be retried after a system restart (missing classes, missing factories)
DONE
          Operation finished succesfully.
EXEC
          The thingy is currently executing somewhere
FATL
          The thing has failed completely and will not be retried.
RTRY
          The thingy needs to be RETRIED because it failed.
 
Method Summary
static PendingOperationState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PendingOperationState[] 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

EXEC

public static final PendingOperationState EXEC
The thingy is currently executing somewhere


RTRY

public static final PendingOperationState RTRY
The thingy needs to be RETRIED because it failed.


FATL

public static final PendingOperationState FATL
The thing has failed completely and will not be retried.


BOOT

public static final PendingOperationState BOOT
Like FAIL the thing has failed miserably and can only be retried after a system restart (missing classes, missing factories)


DONE

public static final PendingOperationState DONE
Operation finished succesfully.

Method Detail

values

public static PendingOperationState[] 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 (PendingOperationState c : PendingOperationState.values())
    System.out.println(c);

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

valueOf

public static PendingOperationState 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