|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.common.dbo.DBObject
com.buildforge.services.common.dbo.ResultDBO
public class ResultDBO
Database information representing the results of an individual step within a build.
Nested Class Summary | |
---|---|
static class |
ResultDBO.Floating
Floating state is related to the implementation of the project sticky flag. |
static class |
ResultDBO.StepFlag
Identifies the current step flag, which controls special behaviors like cancelling or skipping a step. |
static class |
ResultDBO.StepResult
Identifies the current state of the step. |
Field Summary | |
---|---|
static java.lang.Class<ResultDBO> |
CLASS
|
static char |
FLAG_GET_COMMAND
|
static char |
FLAG_GET_ENV
|
static java.lang.String |
TYPE_KEY
|
Constructor Summary | |
---|---|
ResultDBO()
|
Method Summary | |
---|---|
ResultDBO |
fromArray(java.lang.Object[] data)
Deserialize the database object's settings from a request array. |
boolean |
getAbsolute()
|
boolean |
getBroadcast()
|
int |
getBuildId()
|
int |
getCaller()
|
int |
getChainedBuildId()
|
int |
getChainId()
|
java.lang.String |
getCommandKey()
|
java.lang.String |
getCommandText()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDirectory()
|
int |
getDuration()
|
int |
getEnvironmentGroupId()
|
java.lang.String |
getEnvironmentKey()
|
java.lang.String |
getEnvironmentText()
|
int |
getFailChainId()
|
java.lang.String |
getFailNotify()
|
boolean |
getFailWait()
|
int |
getFilterSetId()
|
int |
getFinish()
|
ResultDBO.StepFlag |
getFlag()
|
ResultDBO.Floating |
getFloating()
|
int |
getLevel()
|
java.lang.String |
getLogId()
|
StepDBO.OnFail |
getOnFail()
|
int |
getOriginalStepId()
|
int |
getOwner()
|
int |
getPassChainId()
|
java.lang.String |
getPassNotify()
|
boolean |
getPassWait()
|
int |
getProjectId()
|
java.lang.String |
getResource()
|
ResultDBO.StepResult |
getResult()
|
int |
getResultStepId()
|
java.lang.String |
getServer()
|
int |
getStartTimestamp()
|
StepDBO.Threaded |
getThreaded()
|
int |
getTimeout()
|
java.lang.String |
getTypeKey()
Retrieve the key that should be used to look up the display name for a data type. |
java.lang.String |
getUid()
|
boolean |
isLive()
Checks whether or not the object is live. |
void |
setAbsolute(boolean absolute)
|
void |
setBroadcast(boolean broadcast)
|
void |
setBuildId(int buildId)
|
void |
setCaller(int caller)
|
void |
setChainedBuildId(int chainedBuildId)
|
void |
setChainId(int chainId)
|
void |
setCommandKey(java.lang.String commandKey)
|
void |
setCommandText(java.lang.String commandText)
|
void |
setDescription(java.lang.String description)
|
void |
setDirectory(java.lang.String directory)
|
void |
setDuration(int duration)
|
void |
setEnvironmentGroupId(int environmentGroupId)
|
void |
setEnvironmentKey(java.lang.String environmentKey)
|
void |
setEnvironmentText(java.lang.String environmentText)
|
void |
setFailChainId(int failChainId)
|
void |
setFailNotify(java.lang.String failNotify)
|
void |
setFailWait(boolean failWait)
|
void |
setFilterSetId(int filterSetId)
|
void |
setFinish(int finish)
|
void |
setFlag(ResultDBO.StepFlag flag)
|
void |
setFloating(ResultDBO.Floating floating)
|
void |
setLevel(int level)
|
void |
setLogId(java.lang.String logId)
|
void |
setOnFail(StepDBO.OnFail onFail)
|
void |
setOriginalStepId(int originalStepId)
|
void |
setOwner(int owner)
|
void |
setPassChainId(int passChainId)
|
void |
setPassNotify(java.lang.String passNotify)
|
void |
setPassWait(boolean passWait)
|
void |
setProjectId(int projectId)
|
void |
setResource(java.lang.String resource)
|
void |
setResult(ResultDBO.StepResult result)
|
void |
setResultStepId(int resultStepId)
|
void |
setServer(java.lang.String server)
|
void |
setStartTimestamp(int startTimestamp)
|
void |
setThreaded(StepDBO.Threaded threaded)
|
void |
setTimeout(int timeout)
|
void |
setUid(java.lang.String id)
|
java.lang.Object[] |
toArray()
Serializes this database object as an array of objects. |
java.lang.String |
toString()
|
Methods inherited from class com.buildforge.services.common.dbo.DBObject |
---|
badId, badName, checkDead, checkLive, collision, collision |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE_KEY
public static final java.lang.Class<ResultDBO> CLASS
public static final char FLAG_GET_COMMAND
public static final char FLAG_GET_ENV
Constructor Detail |
---|
public ResultDBO()
Method Detail |
---|
public java.lang.String getTypeKey()
DBObject
getTypeKey
in class DBObject
public boolean isLive()
DBObject
isLive
in class DBObject
public boolean getAbsolute()
public boolean getBroadcast()
public int getBuildId()
public int getCaller()
public int getChainedBuildId()
public int getChainId()
public java.lang.String getCommandKey()
public java.lang.String getCommandText()
public java.lang.String getDescription()
public java.lang.String getDirectory()
public int getDuration()
public int getEnvironmentGroupId()
public java.lang.String getEnvironmentKey()
public java.lang.String getEnvironmentText()
public int getFailChainId()
public java.lang.String getFailNotify()
public boolean getFailWait()
public int getFilterSetId()
public int getFinish()
public ResultDBO.StepFlag getFlag()
public ResultDBO.Floating getFloating()
public int getLevel()
public java.lang.String getLogId()
public StepDBO.OnFail getOnFail()
public int getOriginalStepId()
public int getOwner()
public int getPassChainId()
public java.lang.String getPassNotify()
public boolean getPassWait()
public int getProjectId()
public java.lang.String getResource()
public ResultDBO.StepResult getResult()
public int getResultStepId()
public java.lang.String getServer()
public int getStartTimestamp()
public StepDBO.Threaded getThreaded()
public int getTimeout()
public java.lang.String getUid()
public void setAbsolute(boolean absolute)
public void setBroadcast(boolean broadcast)
public void setBuildId(int buildId)
public void setCaller(int caller)
public void setChainedBuildId(int chainedBuildId)
public void setChainId(int chainId)
public void setCommandKey(java.lang.String commandKey)
public void setCommandText(java.lang.String commandText)
public void setDescription(java.lang.String description)
public void setDirectory(java.lang.String directory)
public void setDuration(int duration)
public void setEnvironmentGroupId(int environmentGroupId)
public void setEnvironmentKey(java.lang.String environmentKey)
public void setEnvironmentText(java.lang.String environmentText)
public void setFailChainId(int failChainId)
public void setFailNotify(java.lang.String failNotify)
public void setFailWait(boolean failWait)
public void setFilterSetId(int filterSetId)
public void setFinish(int finish)
public void setFlag(ResultDBO.StepFlag flag)
public void setFloating(ResultDBO.Floating floating)
public void setLevel(int level)
public void setLogId(java.lang.String logId)
public void setOnFail(StepDBO.OnFail onFail)
public void setOriginalStepId(int originalStepId)
public void setOwner(int owner)
public void setPassChainId(int passChainId)
public void setPassNotify(java.lang.String passNotify)
public void setPassWait(boolean passWait)
public void setProjectId(int projectId)
public void setResource(java.lang.String resource)
public void setResult(ResultDBO.StepResult result)
public void setResultStepId(int resultStepId)
public void setServer(java.lang.String server)
public void setStartTimestamp(int startTimestamp)
public void setThreaded(StepDBO.Threaded threaded)
public void setTimeout(int timeout)
public void setUid(java.lang.String id)
public java.lang.String toString()
toString
in class java.lang.Object
public ResultDBO fromArray(java.lang.Object[] data) throws APIException
DBObject
DBObject.toArray()
.
fromArray
in class DBObject
data
- the object list that renders this object
APIException
- if there is something wrong with the
serialized data that interferes with the reconstruction of
the object. The most obvious reason for this would be if
the serialized array contains the wrong number of fields
or otherwise does not match the serialized form for this
type of database object.public java.lang.Object[] toArray()
DBObject
Protocol
, all supported
protocols transfer database objects in this form.
toArray
in class DBObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |