flux
Enum SuperState

java.lang.Object
  extended by java.lang.Enum<SuperState>
      extended by flux.SuperState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SuperState>

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

Represents valid super-states in which job execution flow contexts can exist. The state of a job execution flow context is the combination of its super-state and its sub-state. The super-state indicates whether the job execution flow context is running normally or attempting to recover from an error in a default flow chart error handler.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Enum Constant Summary
ANY
          Matches any super-state.
ERROR
          One of two super-states that indicates a running flow context is recovering from an error.
NORMAL
          One of two super-states that indicates a running flow context is progressing normally.
 
Method Summary
static SuperState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SuperState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANY

public static final SuperState ANY
Matches any super-state. Used for querying super-states where it does not matter what the actual super-state is.


ERROR

public static final SuperState ERROR
One of two super-states that indicates a running flow context is recovering from an error.


NORMAL

public static final SuperState NORMAL
One of two super-states that indicates a running flow context is progressing normally.

Method Detail

values

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

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

valueOf

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


© 2014 Flux Corporation. All rights reserved.