Class ResultDetails
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.model.build.Result
-
- com.atlassian.bamboo.plugins.rest.model.build.ResultDetails
-
public class ResultDetails extends Result
-
-
Field Summary
Fields Modifier and Type Field Description protected RestChangeList
changes
protected RestBuildLogEntryList
logEntries
protected RestBuildMetadataList
metadata
protected RestProgress
progress
protected RestBuildQueueStatus
queue
protected RestTestResults
testResults
-
Fields inherited from class com.atlassian.bamboo.plugins.rest.model.build.Result
artifacts, baseUriBuilder, buildNumber, buildNumberForCompat, buildResultKey, buildState, buildStateForCompat, buildSummary, comments, jiraIssues, labels, link, logFiles, plan, planRestService, planResultKey, restResultKey, RESULT_KEY, resultsSummaryAccessor, stages, STATE, storageLocationService, variables
-
-
Constructor Summary
Constructors Constructor Description ResultDetails()
ResultDetails(ResultsSummary buildSummary, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder, BuildLoggerManager buildLoggerManager, BuildLogFileAccessorFactory buildLogFileAccessorFactory, PlanRestService planRestService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
expand(ResultsSummary summary, @NotNull Supplier<BuildResults> buildResults)
void
expand(ResultsSummary summary, @Nullable ExecutionStatus executionStatus, @Nullable BuildQueuePosition buildQueuePosition, boolean hasExecutableAgents)
int
getBuildNumber()
com.atlassian.plugins.rest.common.Link
getLink()
RestTestResults
getTestResults()
void
setChanges(RestChangeList changes)
void
setLogEntries(RestBuildLogEntryList logEntries)
void
setMetadata(RestBuildMetadataList metadata)
void
setProgress(RestProgress progress)
-
Methods inherited from class com.atlassian.bamboo.plugins.rest.model.build.Result
expand, getArtifacts, getBuildState, getChanges, getComments, getJiraIssues, getLabels, getLogFiles, getVariables, getVariables, setArtifacts, setBuildCompletedTime, setBuildDuration, setBuildDurationDescription, setBuildDurationInSeconds, setBuildNumber, setBuildReason, setBuildRelativeTime, setBuildStartedTime, setBuildState, setBuildTestSummary, setComments, setContinuable, setExpand, setFailedTestCount, setHasExecutableAgents, setId, setJiraIssues, setLabels, setLifeCycleState, setLink, setOnceOff, setParentLink, setPlanName, setPlanResultKey, setPrettyBuildCompletedTime, setPrettyBuildStartedTime, setPrettyQueueDuration, setPrettyQueueStartedTime, setPrettyVcsUpdateDuration, setPrettyVcsUpdateStartedTime, setProjectName, setQuarantinedTestCount, setQueueDuration, setQueueStartedTime, setQueueTimeInSeconds, setRestartable, setRestartCount, setSkippedTestCount, setStage, setStageResult, setStages, setSuccessfulTestCount, setVariables, setVcsRevisionKey, setVcsUpdateDuration, setVcsUpdateInSeconds, setVcsUpdateStartedTime
-
-
-
-
Field Detail
-
changes
@Expandable protected RestChangeList changes
-
testResults
@Expandable protected RestTestResults testResults
-
metadata
@Expandable protected RestBuildMetadataList metadata
-
progress
protected RestProgress progress
-
queue
protected RestBuildQueueStatus queue
-
logEntries
@Expandable protected RestBuildLogEntryList logEntries
-
-
Constructor Detail
-
ResultDetails
public ResultDetails()
-
ResultDetails
public ResultDetails(ResultsSummary buildSummary, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder, BuildLoggerManager buildLoggerManager, BuildLogFileAccessorFactory buildLogFileAccessorFactory, PlanRestService planRestService)
-
-
Method Detail
-
getBuildNumber
public int getBuildNumber()
- Overrides:
getBuildNumber
in classResult
-
expand
public void expand(ResultsSummary summary, @NotNull @NotNull Supplier<BuildResults> buildResults)
-
expand
public void expand(ResultsSummary summary, @Nullable @Nullable ExecutionStatus executionStatus, @Nullable @Nullable BuildQueuePosition buildQueuePosition, boolean hasExecutableAgents)
-
getTestResults
public RestTestResults getTestResults()
-
setChanges
public void setChanges(RestChangeList changes)
-
setMetadata
public void setMetadata(RestBuildMetadataList metadata)
-
setProgress
public void setProgress(RestProgress progress)
-
setLogEntries
public void setLogEntries(RestBuildLogEntryList logEntries)
-
-