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

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.model.build.Result
Direct Known Subclasses:
RestChainResult, ResultDetails

@Expander(value=RestResultExpander.class)
public class Result
extends java.lang.Object


Field Summary
protected  RestBuildArtifactList artifacts
           
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  RestCommentList comments
           
protected  java.lang.String expand
           
protected  java.lang.Integer failedTestCount
           
protected  java.lang.Boolean hasExecutableAgents
           
protected  long id
           
protected  java.lang.String jiraHostUrl
           
protected  RestJiraIssueList jiraIssues
           
static java.lang.String KEY
           
protected  RestBuildLabelList labels
           
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  com.atlassian.plugins.rest.common.Link parentLink
           
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
           
protected  RestStageResultList stages
           
static java.lang.String STATE
           
protected  java.lang.Integer successfulTestCount
           
protected  javax.ws.rs.core.UriInfo uriInfo
           
protected  java.lang.String vcsRevisionKey
           
protected  java.lang.Long vcsUpdateDuration
           
protected  java.lang.Long vcsUpdateInSeconds
           
protected  java.util.Date vcsUpdateStartedTime
           
 
Constructor Summary
Result()
           
Result(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

parentLink

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

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

artifacts

@Expandable
protected RestBuildArtifactList artifacts

comments

@Expandable
protected RestCommentList comments

labels

@Expandable
protected RestBuildLabelList labels

jiraIssues

@Expandable
protected RestJiraIssueList jiraIssues

stages

@Expandable
protected RestStageResultList stages

stageResult

protected ChainStageResult stageResult

buildSummary

public ResultsSummary buildSummary

jiraHostUrl

protected java.lang.String jiraHostUrl

uriInfo

protected javax.ws.rs.core.UriInfo uriInfo

baseUriBuilder

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

Result

public Result()

Result

public Result(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 © 2011 Atlassian. All Rights Reserved.