com.atlassian.bamboo.plugins.rest.model.build
Class AbstractRestBuild

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.model.build.AbstractRestBuild
Direct Known Subclasses:
BaseBuild, BaseBuildDetails, RestChainResult

public class AbstractRestBuild
extends java.lang.Object


Field Summary
protected  javax.ws.rs.core.UriBuilder baseUriBuilder
           
protected  java.util.Date buildCompletedTime
           
protected  java.lang.Long buildDuration
           
protected  java.lang.String buildDurationDescription
           
protected  java.lang.Long buildDurationInSeconds
           
protected  java.lang.Integer buildNumber
           
protected  java.lang.String buildReason
           
protected  java.lang.String buildRelativeTime
           
protected  java.lang.String buildResultKey
           
protected  java.util.Date buildStartedTime
           
protected  java.lang.String buildState
           
 ResultsSummary buildSummary
           
protected  java.lang.String buildTestSummary
           
protected  com.atlassian.plugins.rest.common.Link chainLink
           
protected  java.lang.String expand
           
protected  java.lang.Integer failedTestCount
           
protected  java.lang.Boolean hasExecutableAgents
           
protected  long id
           
protected  java.lang.String jiraHostUrl
           
static java.lang.String KEY
           
static java.lang.String LIFE_CYCLE_STATE
           
protected  java.lang.String lifeCycleState
           
protected  com.atlassian.plugins.rest.common.Link link
           
static java.lang.String NUMBER
           
protected  java.lang.String prettyQueueDuration
           
protected  java.lang.String prettyVcsUpdateDuration
           
protected  java.lang.Long queueDuration
           
protected  java.util.Date queueStartedTime
           
protected  java.lang.Long queueTimeInSeconds
           
protected  java.lang.String stage
           
protected  ChainStageResult stageResult
           
static java.lang.String STATE
           
protected  java.lang.Integer successfulTestCount
           
protected  java.lang.String vcsRevisionKey
           
protected  java.lang.Long vcsUpdateDuration
           
protected  java.lang.Long vcsUpdateInSeconds
           
protected  java.util.Date vcsUpdateStartedTime
           
 
Constructor Summary
AbstractRestBuild()
           
AbstractRestBuild(ResultsSummary buildSummary, java.lang.String jiraHostUrl, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder)
           
 
Method Summary
 void expand()
           
protected  RestBuildArtifactList getArtifacts()
           
 java.lang.String getBuildKey()
           
 int getBuildNumber()
           
 java.lang.String getBuildResultKey()
           
 java.lang.String getBuildState()
           
protected  RestChangeList getChanges()
           
protected  RestCommentList getComments()
           
 JiraIssueManager getJiraIssueManager()
           
protected  RestJiraIssueList getJiraIssues()
           
protected  RestBuildLabelList getLabels()
           
 com.atlassian.plugins.rest.common.Link getLink()
           
 void setStageResult(ChainStageResult stageResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values

STATE

public static final java.lang.String STATE
See Also:
Constant Field Values

LIFE_CYCLE_STATE

public static final java.lang.String LIFE_CYCLE_STATE
See Also:
Constant Field Values

NUMBER

public static final java.lang.String NUMBER
See Also:
Constant Field Values

expand

protected java.lang.String expand

link

protected com.atlassian.plugins.rest.common.Link link

chainLink

protected com.atlassian.plugins.rest.common.Link chainLink

stage

protected java.lang.String stage

buildResultKey

protected java.lang.String buildResultKey

buildState

protected java.lang.String buildState

lifeCycleState

protected java.lang.String lifeCycleState

buildNumber

protected java.lang.Integer buildNumber

id

protected long id

buildStartedTime

protected java.util.Date buildStartedTime

buildCompletedTime

protected java.util.Date buildCompletedTime

buildDurationInSeconds

protected java.lang.Long buildDurationInSeconds

buildDuration

protected java.lang.Long buildDuration

buildDurationDescription

protected java.lang.String buildDurationDescription

buildRelativeTime

protected java.lang.String buildRelativeTime

queueStartedTime

protected java.util.Date queueStartedTime

queueTimeInSeconds

protected java.lang.Long queueTimeInSeconds

queueDuration

protected java.lang.Long queueDuration

prettyQueueDuration

protected java.lang.String prettyQueueDuration

vcsUpdateStartedTime

protected java.util.Date vcsUpdateStartedTime

vcsUpdateInSeconds

protected java.lang.Long vcsUpdateInSeconds

vcsUpdateDuration

protected java.lang.Long vcsUpdateDuration

prettyVcsUpdateDuration

protected java.lang.String prettyVcsUpdateDuration

vcsRevisionKey

protected java.lang.String vcsRevisionKey

buildTestSummary

protected java.lang.String buildTestSummary

successfulTestCount

protected java.lang.Integer successfulTestCount

failedTestCount

protected java.lang.Integer failedTestCount

buildReason

protected java.lang.String buildReason

hasExecutableAgents

protected java.lang.Boolean hasExecutableAgents

stageResult

protected ChainStageResult stageResult

buildSummary

public ResultsSummary buildSummary

jiraHostUrl

protected java.lang.String jiraHostUrl

baseUriBuilder

protected javax.ws.rs.core.UriBuilder baseUriBuilder
Constructor Detail

AbstractRestBuild

public AbstractRestBuild()

AbstractRestBuild

public AbstractRestBuild(ResultsSummary buildSummary,
                         java.lang.String jiraHostUrl,
                         javax.ws.rs.core.UriInfo uriInfo,
                         javax.ws.rs.core.UriBuilder baseUriBuilder)
Method Detail

getBuildNumber

public int getBuildNumber()

getLink

public com.atlassian.plugins.rest.common.Link getLink()

expand

public void expand()

getBuildKey

public java.lang.String getBuildKey()

getJiraIssues

protected RestJiraIssueList getJiraIssues()

getChanges

protected RestChangeList getChanges()

getComments

protected RestCommentList getComments()

getLabels

protected RestBuildLabelList getLabels()

getArtifacts

protected RestBuildArtifactList getArtifacts()

getBuildState

public java.lang.String getBuildState()

getBuildResultKey

public java.lang.String getBuildResultKey()

setStageResult

public void setStageResult(ChainStageResult stageResult)

getJiraIssueManager

public JiraIssueManager getJiraIssueManager()


Copyright © 2010 Atlassian. All Rights Reserved.