com.buildforge.services.common.dbo
Enum BuildDBO.Result
java.lang.Object
java.lang.Enum<BuildDBO.Result>
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:
Value | Meaning | Notes |
NONE | None | The build has not
started, yet. |
RUNNING | Running | The build is
still running. |
PASSED | Passed | The build completed
successfully. |
WARNING_FILTER | Warning | The build
completed successfully, but at least one step produced a
warning because a filter pattern matched that specified the
WARNING filter action.
|
WARNING_FAILED_STEP | Warning | The
build completed successfully, but at least one step failed that
was marked to allow the build to continue even if that step
failed. |
FAILED | Failed | A 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. |
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 |
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
CLASS
public static final java.lang.Class<BuildDBO.Result> CLASS
code
public final char code
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