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 Object


Field Summary
protected  RestBuildArtifactList artifacts
           
protected  javax.ws.rs.core.UriBuilder baseUriBuilder
           
protected  Integer buildNumber
           
protected  Integer buildNumberForCompat
           
protected  String buildResultKey
           
protected  String buildState
           
protected  String buildStateForCompat
           
 ImmutableResultsSummary buildSummary
           
protected  RestCommentList comments
           
protected  RestJiraIssueList jiraIssues
           
protected  RestBuildLabelList labels
           
protected  com.atlassian.plugins.rest.common.Link link
           
protected  RestPlan plan
           
protected  PlanResultKey planResultKey
           
protected  PlanService planService
           
protected  RestResultKey restResultKey
           
static String RESULT_KEY
           
protected  RestStageResultList stages
           
static String STATE
           
protected  javax.ws.rs.core.UriInfo uriInfo
           
 
Constructor Summary
Result()
           
Result(ImmutableResultsSummary buildSummary, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder, PlanService planService)
           
 
Method Summary
 void expand()
           
protected  RestBuildArtifactList getArtifacts()
           
 int getBuildNumber()
           
 String getBuildState()
           
protected  RestChangeList getChanges()
           
protected  RestCommentList getComments()
           
protected  RestJiraIssueList getJiraIssues()
           
protected  RestBuildLabelList getLabels()
           
 com.atlassian.plugins.rest.common.Link getLink()
           
 void setArtifacts(RestBuildArtifactList artifacts)
           
 void setBuildCompletedTime(Date buildCompletedTime)
           
 void setBuildDuration(Long buildDuration)
           
 void setBuildDurationDescription(String buildDurationDescription)
           
 void setBuildDurationInSeconds(Long buildDurationInSeconds)
           
 void setBuildNumber(Integer buildNumber)
           
 void setBuildReason(String buildReason)
           
 void setBuildRelativeTime(String buildRelativeTime)
           
 void setBuildStartedTime(Date buildStartedTime)
           
 void setBuildState(String buildState)
           
 void setBuildTestSummary(String buildTestSummary)
           
 void setComments(RestCommentList comments)
           
 void setContinuable(Boolean continuable)
           
 void setExpand(String expand)
          Basic getters and setters
 void setFailedTestCount(Integer failedTestCount)
           
 void setHasExecutableAgents(Boolean hasExecutableAgents)
           
 void setId(long id)
           
 void setJiraIssues(RestJiraIssueList jiraIssues)
           
 void setLabels(RestBuildLabelList labels)
           
 void setLifeCycleState(String lifeCycleState)
           
 void setLink(com.atlassian.plugins.rest.common.Link link)
           
 void setOnceOff(Boolean onceOff)
           
 void setParentLink(com.atlassian.plugins.rest.common.Link parentLink)
           
 void setPlanName(String planName)
           
 void setPlanResultKey(PlanResultKey planResultKey)
           
 void setPrettyBuildCompletedTime(String prettyBuildCompletedTime)
           
 void setPrettyBuildStartedTime(String prettyBuildStartedTime)
           
 void setPrettyQueueDuration(String prettyQueueDuration)
           
 void setPrettyQueueStartedTime(String prettyQueueStartedTime)
           
 void setPrettyVcsUpdateDuration(String prettyVcsUpdateDuration)
           
 void setPrettyVcsUpdateStartedTime(String prettyVcsUpdateStartedTime)
           
 void setProjectName(String projectName)
           
 void setQuarantinedTestCount(Integer quarantinedTestCount)
           
 void setQueueDuration(Long queueDuration)
           
 void setQueueStartedTime(Date queueStartedTime)
           
 void setQueueTimeInSeconds(Long queueTimeInSeconds)
           
 void setRestartable(Boolean restartable)
           
 void setRestartCount(Integer restartCount)
           
 void setSkippedTestCount(Integer skippedTestCount)
           
 void setStage(String stage)
           
 void setStageResult(ChainStageResult stageResult)
           
 void setStages(RestStageResultList stages)
           
 void setSuccessfulTestCount(Integer successfulTestCount)
           
 void setVcsRevisionKey(String vcsRevisionKey)
           
 void setVcsUpdateDuration(Long vcsUpdateDuration)
           
 void setVcsUpdateInSeconds(Long vcsUpdateInSeconds)
           
 void setVcsUpdateStartedTime(Date vcsUpdateStartedTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE

public static final String STATE
See Also:
Constant Field Values

RESULT_KEY

public static final String RESULT_KEY
See Also:
Constant Field Values

link

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

plan

@Expandable
protected RestPlan plan

planResultKey

protected PlanResultKey planResultKey

buildResultKey

protected String buildResultKey

restResultKey

protected RestResultKey restResultKey

buildState

protected String buildState

buildStateForCompat

protected String buildStateForCompat

buildNumber

protected Integer buildNumber

buildNumberForCompat

protected Integer buildNumberForCompat

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

buildSummary

public ImmutableResultsSummary buildSummary

uriInfo

protected javax.ws.rs.core.UriInfo uriInfo

baseUriBuilder

protected javax.ws.rs.core.UriBuilder baseUriBuilder

planService

protected PlanService planService
Constructor Detail

Result

public Result()

Result

public Result(ImmutableResultsSummary buildSummary,
              javax.ws.rs.core.UriInfo uriInfo,
              javax.ws.rs.core.UriBuilder baseUriBuilder,
              PlanService planService)
Method Detail

getBuildNumber

public int getBuildNumber()

getLink

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

expand

public void expand()

getJiraIssues

protected RestJiraIssueList getJiraIssues()
                                   throws CredentialsRequiredContextException
Throws:
CredentialsRequiredContextException

getChanges

protected RestChangeList getChanges()

getComments

protected RestCommentList getComments()

getLabels

protected RestBuildLabelList getLabels()

getArtifacts

protected RestBuildArtifactList getArtifacts()

getBuildState

public String getBuildState()

setStageResult

public void setStageResult(ChainStageResult stageResult)

setExpand

public void setExpand(String expand)
Basic getters and setters


setParentLink

public void setParentLink(com.atlassian.plugins.rest.common.Link parentLink)

setPlanName

public void setPlanName(String planName)

setPlanResultKey

public void setPlanResultKey(PlanResultKey planResultKey)

setBuildNumber

public void setBuildNumber(Integer buildNumber)

setLink

public void setLink(com.atlassian.plugins.rest.common.Link link)

setBuildState

public void setBuildState(String buildState)

setArtifacts

public void setArtifacts(RestBuildArtifactList artifacts)

setComments

public void setComments(RestCommentList comments)

setLabels

public void setLabels(RestBuildLabelList labels)

setJiraIssues

public void setJiraIssues(RestJiraIssueList jiraIssues)

setProjectName

public void setProjectName(String projectName)

setStage

public void setStage(String stage)

setLifeCycleState

public void setLifeCycleState(String lifeCycleState)

setId

public void setId(long id)

setBuildStartedTime

public void setBuildStartedTime(Date buildStartedTime)

setPrettyBuildStartedTime

public void setPrettyBuildStartedTime(String prettyBuildStartedTime)

setBuildCompletedTime

public void setBuildCompletedTime(Date buildCompletedTime)

setPrettyBuildCompletedTime

public void setPrettyBuildCompletedTime(String prettyBuildCompletedTime)

setBuildDurationInSeconds

public void setBuildDurationInSeconds(Long buildDurationInSeconds)

setBuildDuration

public void setBuildDuration(Long buildDuration)

setBuildDurationDescription

public void setBuildDurationDescription(String buildDurationDescription)

setBuildRelativeTime

public void setBuildRelativeTime(String buildRelativeTime)

setQueueStartedTime

public void setQueueStartedTime(Date queueStartedTime)

setPrettyQueueStartedTime

public void setPrettyQueueStartedTime(String prettyQueueStartedTime)

setQueueTimeInSeconds

public void setQueueTimeInSeconds(Long queueTimeInSeconds)

setQueueDuration

public void setQueueDuration(Long queueDuration)

setPrettyQueueDuration

public void setPrettyQueueDuration(String prettyQueueDuration)

setVcsUpdateStartedTime

public void setVcsUpdateStartedTime(Date vcsUpdateStartedTime)

setPrettyVcsUpdateStartedTime

public void setPrettyVcsUpdateStartedTime(String prettyVcsUpdateStartedTime)

setVcsUpdateInSeconds

public void setVcsUpdateInSeconds(Long vcsUpdateInSeconds)

setVcsUpdateDuration

public void setVcsUpdateDuration(Long vcsUpdateDuration)

setPrettyVcsUpdateDuration

public void setPrettyVcsUpdateDuration(String prettyVcsUpdateDuration)

setVcsRevisionKey

public void setVcsRevisionKey(String vcsRevisionKey)

setBuildTestSummary

public void setBuildTestSummary(String buildTestSummary)

setSuccessfulTestCount

public void setSuccessfulTestCount(Integer successfulTestCount)

setFailedTestCount

public void setFailedTestCount(Integer failedTestCount)

setQuarantinedTestCount

public void setQuarantinedTestCount(Integer quarantinedTestCount)

setSkippedTestCount

public void setSkippedTestCount(Integer skippedTestCount)

setOnceOff

public void setOnceOff(Boolean onceOff)

setRestartCount

public void setRestartCount(Integer restartCount)

setContinuable

public void setContinuable(Boolean continuable)

setRestartable

public void setRestartable(Boolean restartable)

setBuildReason

public void setBuildReason(String buildReason)

setHasExecutableAgents

public void setHasExecutableAgents(Boolean hasExecutableAgents)

setStages

public void setStages(RestStageResultList stages)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.