com.buildforge.services.common.dbo
Enum BuildDBO.State
java.lang.Object
java.lang.Enum<BuildDBO.State>
com.buildforge.services.common.dbo.BuildDBO.State
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BuildDBO.State>
- Enclosing class:
- BuildDBO
public static enum BuildDBO.State
- extends java.lang.Enum<BuildDBO.State>
Identifies the run state of the build. The value is interpreted
as follows:
Value | Meaning |
WAITING | The build record has been created,
but no engine has taken ownership of it, yet. |
PENDING | An engine has claimed the build as
its own, but the build process has not yet started. |
RUNNING | The build is in progress. |
COMPLETED | The build is complete. |
LOCKED | The build has been locked by a user
to prevent it from being purged. |
ARCHIVED | The build has been purged, but its
build class had a BuildClassDBO.PurgeType setting that did
not include the console data. Therefore, the engine archived the
build record instead of purging it. |
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 |
WAITING
public static final BuildDBO.State WAITING
PENDING
public static final BuildDBO.State PENDING
RUNNING
public static final BuildDBO.State RUNNING
COMPLETED
public static final BuildDBO.State COMPLETED
LOCKED
public static final BuildDBO.State LOCKED
ARCHIVED
public static final BuildDBO.State ARCHIVED
CLASS
public static final java.lang.Class<BuildDBO.State> CLASS
code
public final char code
values
public static final BuildDBO.State[] 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.State c : BuildDBO.State.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.State 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.State fromDB(char code)
fromObject
public static BuildDBO.State fromObject(java.lang.Object o)
throws APIException
- Throws:
APIException