@Expander(value=RestResultExpander.class) public class Result extends Object
Modifier and Type | Field and Description |
---|---|
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 PlanRestService |
planRestService |
protected PlanResultKey |
planResultKey |
protected RestResultKey |
restResultKey |
static String |
RESULT_KEY |
protected RestStageResultList |
stages |
static String |
STATE |
protected javax.ws.rs.core.UriInfo |
uriInfo |
Constructor and Description |
---|
Result() |
Result(ImmutableResultsSummary buildSummary,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.UriBuilder baseUriBuilder,
PlanRestService planRestService) |
Modifier and Type | Method and Description |
---|---|
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) |
public static final String STATE
public static final String RESULT_KEY
protected com.atlassian.plugins.rest.common.Link link
@Expandable protected RestPlan plan
protected PlanResultKey planResultKey
protected String buildResultKey
protected RestResultKey restResultKey
protected String buildState
protected String buildStateForCompat
protected Integer buildNumber
protected Integer buildNumberForCompat
@Expandable protected RestBuildArtifactList artifacts
@Expandable protected RestCommentList comments
@Expandable protected RestBuildLabelList labels
@Expandable protected RestJiraIssueList jiraIssues
@Expandable protected RestStageResultList stages
public ImmutableResultsSummary buildSummary
protected javax.ws.rs.core.UriInfo uriInfo
protected javax.ws.rs.core.UriBuilder baseUriBuilder
protected PlanRestService planRestService
public Result()
public Result(ImmutableResultsSummary buildSummary, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder, PlanRestService planRestService)
public int getBuildNumber()
public com.atlassian.plugins.rest.common.Link getLink()
public void expand()
protected RestJiraIssueList getJiraIssues() throws CredentialsRequiredContextException
protected RestChangeList getChanges()
protected RestCommentList getComments()
protected RestBuildLabelList getLabels()
protected RestBuildArtifactList getArtifacts()
public String getBuildState()
public void setStageResult(ChainStageResult stageResult)
public void setExpand(String expand)
public void setParentLink(com.atlassian.plugins.rest.common.Link parentLink)
public void setPlanName(String planName)
public void setPlanResultKey(PlanResultKey planResultKey)
public void setBuildNumber(Integer buildNumber)
public void setLink(com.atlassian.plugins.rest.common.Link link)
public void setBuildState(String buildState)
public void setArtifacts(RestBuildArtifactList artifacts)
public void setComments(RestCommentList comments)
public void setLabels(RestBuildLabelList labels)
public void setJiraIssues(RestJiraIssueList jiraIssues)
public void setProjectName(String projectName)
public void setStage(String stage)
public void setLifeCycleState(String lifeCycleState)
public void setId(long id)
public void setBuildStartedTime(Date buildStartedTime)
public void setPrettyBuildStartedTime(String prettyBuildStartedTime)
public void setBuildCompletedTime(Date buildCompletedTime)
public void setPrettyBuildCompletedTime(String prettyBuildCompletedTime)
public void setBuildDurationInSeconds(Long buildDurationInSeconds)
public void setBuildDuration(Long buildDuration)
public void setBuildDurationDescription(String buildDurationDescription)
public void setBuildRelativeTime(String buildRelativeTime)
public void setQueueStartedTime(Date queueStartedTime)
public void setPrettyQueueStartedTime(String prettyQueueStartedTime)
public void setQueueTimeInSeconds(Long queueTimeInSeconds)
public void setQueueDuration(Long queueDuration)
public void setPrettyQueueDuration(String prettyQueueDuration)
public void setVcsUpdateStartedTime(Date vcsUpdateStartedTime)
public void setPrettyVcsUpdateStartedTime(String prettyVcsUpdateStartedTime)
public void setVcsUpdateInSeconds(Long vcsUpdateInSeconds)
public void setVcsUpdateDuration(Long vcsUpdateDuration)
public void setPrettyVcsUpdateDuration(String prettyVcsUpdateDuration)
public void setVcsRevisionKey(String vcsRevisionKey)
public void setBuildTestSummary(String buildTestSummary)
public void setSuccessfulTestCount(Integer successfulTestCount)
public void setFailedTestCount(Integer failedTestCount)
public void setQuarantinedTestCount(Integer quarantinedTestCount)
public void setSkippedTestCount(Integer skippedTestCount)
public void setOnceOff(Boolean onceOff)
public void setRestartCount(Integer restartCount)
public void setContinuable(Boolean continuable)
public void setRestartable(Boolean restartable)
public void setBuildReason(String buildReason)
public void setHasExecutableAgents(Boolean hasExecutableAgents)
public void setStages(RestStageResultList stages)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.