com.buildforge.services.common.dbo
Enum BuildDBO.Process

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

public static enum BuildDBO.Process
extends java.lang.Enum<BuildDBO.Process>

Identifies the type of build process. The process type is associated with the type of work that the build manager will be doing. The same build mechanism is used for builds, purges, and project clobbers, and this field distinguishes these various process types as follows:

ValueMeaning
BUILDNormal builds.
PURGEPurging an existing build.
CLOBBERClobbering a project.


Enum Constant Summary
BUILD
           
CLOBBER
           
PURGE
           
 
Field Summary
static java.lang.Class<BuildDBO.Process> CLASS
           
 char code
           
 
Method Summary
static BuildDBO.Process fromDB(char code)
           
static BuildDBO.Process fromObject(java.lang.Object o)
           
static BuildDBO.Process valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BuildDBO.Process[] 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

BUILD

public static final BuildDBO.Process BUILD

CLOBBER

public static final BuildDBO.Process CLOBBER

PURGE

public static final BuildDBO.Process PURGE
Field Detail

CLASS

public static final java.lang.Class<BuildDBO.Process> CLASS

code

public final char code
Method Detail

values

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

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

valueOf

public static BuildDBO.Process 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 BuildDBO.Process fromDB(char code)

fromObject

public static BuildDBO.Process fromObject(java.lang.Object o)
                                   throws APIException
Throws:
APIException