@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 static com.google.common.base.Supplier<ResultsSummaryVariableAccessor> |
resultsSummaryAccessor |
protected RestStageResultList |
stages |
static String |
STATE |
protected javax.ws.rs.core.UriInfo |
uriInfo |
protected RestVariableList |
variables |
Constructor and Description |
---|
Result() |
Result(ImmutableResultsSummary buildSummary,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.UriBuilder baseUriBuilder,
PlanRestService planRestService) |
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 RestVariableList variables
@Expandable protected RestStageResultList stages
public ImmutableResultsSummary buildSummary
protected javax.ws.rs.core.UriInfo uriInfo
protected javax.ws.rs.core.UriBuilder baseUriBuilder
protected static final com.google.common.base.Supplier<ResultsSummaryVariableAccessor> resultsSummaryAccessor
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 RestVariableList getVariables()
protected RestVariableList getVariables(Function<ImmutableResultsSummary,Collection<VariableDefinitionContext>> variableStateProvider)
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 setVariables(RestVariableList variables)
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 © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.