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

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

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

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:

ValueMeaningNotes NONENoneThe build has not started, yet. RUNNINGRunningThe build is still running. PASSEDPassedThe build completed successfully. WARNING_FILTERWarningThe build completed successfully, but at least one step produced a warning because a filter pattern matched that specified the WARNING filter action. WARNING_FAILED_STEPWarningThe build completed successfully, but at least one step failed that was marked to allow the build to continue even if that step failed. FAILEDFailedA cancelled or paused build will also show up as failed. The exact state that should be displayed for the build depends on other fields for this case.


Enum Constant Summary
FAILED
           
NONE
           
PASSED
           
RUNNING
           
WARNING_FAILED_STEP
           
WARNING_FILTER
           
 
Field Summary
static java.lang.Class<BuildDBO.Result> CLASS
           
 char code
           
 
Method Summary
static BuildDBO.Result fromDB(char code)
           
static BuildDBO.Result fromObject(java.lang.Object o)
           
static BuildDBO.Result valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BuildDBO.Result[] 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

NONE

public static final BuildDBO.Result NONE

RUNNING

public static final BuildDBO.Result RUNNING

PASSED

public static final BuildDBO.Result PASSED

WARNING_FILTER

public static final BuildDBO.Result WARNING_FILTER

WARNING_FAILED_STEP

public static final BuildDBO.Result WARNING_FAILED_STEP

FAILED

public static final BuildDBO.Result FAILED
Field Detail

CLASS

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

code

public final char code
Method Detail

values

public static final BuildDBO.Result[] 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.Result c : BuildDBO.Result.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.Result 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.Result fromDB(char code)

fromObject

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