com.buildforge.services.common.dbo
Enum ResultDBO.StepResult

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

public static enum ResultDBO.StepResult
extends java.lang.Enum<ResultDBO.StepResult>

Identifies the current state of the step. These should be mostly self-explanatory. NONE is the state that steps are created with and indicates that the step has not been run. STOPPED means that the build was stopped at that step either by setting the build to pause at that step or by the step running a .break command.


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

RUNNING

public static final ResultDBO.StepResult RUNNING

PASSED

public static final ResultDBO.StepResult PASSED

STOPPED

public static final ResultDBO.StepResult STOPPED

SKIPPED

public static final ResultDBO.StepResult SKIPPED

FAILWARN

public static final ResultDBO.StepResult FAILWARN

FILTWARN

public static final ResultDBO.StepResult FILTWARN

FAILED

public static final ResultDBO.StepResult FAILED
Field Detail

CLASS

public static final java.lang.Class<ResultDBO.StepResult> CLASS

code

public final char code
Method Detail

values

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

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

valueOf

public static ResultDBO.StepResult 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 ResultDBO.StepResult fromDB(char c)

fromObject

public static ResultDBO.StepResult fromObject(java.lang.Object o)
                                       throws APIException
Throws:
APIException