com.buildforge.services.common.dbo
Enum StepDBO.Threaded

java.lang.Object
  extended by java.lang.Enum<StepDBO.Threaded>
      extended by com.buildforge.services.common.dbo.StepDBO.Threaded
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StepDBO.Threaded>
Enclosing class:
StepDBO

public static enum StepDBO.Threaded
extends java.lang.Enum<StepDBO.Threaded>

Indicates whether this step is threaded, not threaded, or threaded but joined only to the preceding thread block.


Enum Constant Summary
JOIN
          The step is threaded, but only joins with the threaded steps that come before it.
NO
          The step is not threaded.
YES
          The step is threaded, and may therefore be run concurrently with any other threaded steps that come immediately before or after it.
 
Field Summary
static java.lang.Class<StepDBO.Threaded> CLASS
           
 char code
           
 
Method Summary
static StepDBO.Threaded fromDB(char c)
           
static StepDBO.Threaded fromObject(java.lang.Object o)
           
static StepDBO.Threaded valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StepDBO.Threaded[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

NO

public static final StepDBO.Threaded NO
The step is not threaded.


YES

public static final StepDBO.Threaded YES
The step is threaded, and may therefore be run concurrently with any other threaded steps that come immediately before or after it.


JOIN

public static final StepDBO.Threaded JOIN
The step is threaded, but only joins with the threaded steps that come before it. Any threaded steps that follow will belong to a separate thread block.

Field Detail

CLASS

public static final java.lang.Class<StepDBO.Threaded> CLASS

code

public final char code
Method Detail

values

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

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

valueOf

public static StepDBO.Threaded 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

fromDB

public static StepDBO.Threaded fromDB(char c)

fromObject

public static StepDBO.Threaded fromObject(java.lang.Object o)
                                   throws APIException
Throws:
APIException