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

@Expander(RestResultExpander.class) public class Result extends Object
  • Field Details

  • Constructor Details

    • Result

      public Result()
    • Result

      public Result(ImmutableResultsSummary buildSummary, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder, PlanRestService planRestService)
  • Method Details

    • getBuildNumber

      public int getBuildNumber()
    • getLink

      public com.atlassian.plugins.rest.api.model.Link getLink()
    • expand

      public void expand()
    • getJiraIssues

      protected RestJiraIssueList getJiraIssues() throws CredentialsRequiredContextException
      Throws:
      CredentialsRequiredContextException
    • getChanges

      protected RestChangeList getChanges()
    • getComments

      protected RestCommentList getComments()
    • getVariables

      protected RestVariableList getVariables()
    • getVariables

      protected RestVariableList getVariables(Function<ImmutableResultsSummary,Collection<VariableDefinitionContext>> variableStateProvider)
    • getLogFiles

      protected List<String> getLogFiles()
    • 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.api.model.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.api.model.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)
    • setVariables

      public void setVariables(RestVariableList variables)
    • 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)