Class Result
java.lang.Object
com.atlassian.bamboo.plugins.rest.model.build.Result
- Direct Known Subclasses:
RestChainResult
,ResultDetails
-
Field Summary
Modifier and TypeFieldDescriptionprotected RestBuildArtifactList
protected javax.ws.rs.core.UriBuilder
protected Integer
protected Integer
protected String
protected String
protected String
protected RestCommentList
protected RestJiraIssueList
protected RestBuildLabelList
protected com.atlassian.plugins.rest.api.model.Link
protected RestPlan
protected PlanRestService
protected PlanResultKey
protected RestResultKey
static final String
protected static final Supplier<ResultsSummaryVariableAccessor>
protected RestStageResultList
static final String
protected static final Supplier<StorageLocationService>
protected javax.ws.rs.core.UriInfo
protected RestVariableList
-
Constructor Summary
ConstructorDescriptionResult()
Result
(ImmutableResultsSummary buildSummary, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder, PlanRestService planRestService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
expand()
protected RestBuildArtifactList
int
protected RestChangeList
protected RestCommentList
protected RestJiraIssueList
protected RestBuildLabelList
com.atlassian.plugins.rest.api.model.Link
getLink()
protected RestVariableList
protected RestVariableList
getVariables
(Function<ImmutableResultsSummary, Collection<VariableDefinitionContext>> variableStateProvider) 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
Basic getters and settersvoid
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.api.model.Link link) void
setOnceOff
(Boolean onceOff) void
setParentLink
(com.atlassian.plugins.rest.api.model.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
void
setStageResult
(ChainStageResult stageResult) void
setStages
(RestStageResultList stages) void
setSuccessfulTestCount
(Integer successfulTestCount) void
setVariables
(RestVariableList variables) void
setVcsRevisionKey
(String vcsRevisionKey) void
setVcsUpdateDuration
(Long vcsUpdateDuration) void
setVcsUpdateInSeconds
(Long vcsUpdateInSeconds) void
setVcsUpdateStartedTime
(Date vcsUpdateStartedTime)
-
Field Details
-
STATE
- See Also:
-
RESULT_KEY
- See Also:
-
link
protected com.atlassian.plugins.rest.api.model.Link link -
plan
-
planResultKey
-
buildResultKey
-
restResultKey
-
buildState
-
buildStateForCompat
-
buildNumber
-
buildNumberForCompat
-
artifacts
-
comments
-
labels
-
jiraIssues
-
variables
-
stages
-
logFiles
-
buildSummary
-
uriInfo
protected javax.ws.rs.core.UriInfo uriInfo -
baseUriBuilder
protected javax.ws.rs.core.UriBuilder baseUriBuilder -
resultsSummaryVariableAccessor
-
storageLocationService
-
planRestService
-
-
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
-
getChanges
-
getComments
-
getVariables
-
getVariables
protected RestVariableList getVariables(Function<ImmutableResultsSummary, Collection<VariableDefinitionContext>> variableStateProvider) -
getLogFiles
-
getLabels
-
getArtifacts
-
getBuildState
-
setStageResult
-
setExpand
Basic getters and setters -
setParentLink
public void setParentLink(com.atlassian.plugins.rest.api.model.Link parentLink) -
setPlanName
-
setPlanResultKey
-
setBuildNumber
-
setLink
public void setLink(com.atlassian.plugins.rest.api.model.Link link) -
setBuildState
-
setArtifacts
-
setComments
-
setLabels
-
setJiraIssues
-
setVariables
-
setProjectName
-
setStage
-
setLifeCycleState
-
setId
public void setId(long id) -
setBuildStartedTime
-
setPrettyBuildStartedTime
-
setBuildCompletedTime
-
setPrettyBuildCompletedTime
-
setBuildDurationInSeconds
-
setBuildDuration
-
setBuildDurationDescription
-
setBuildRelativeTime
-
setQueueStartedTime
-
setPrettyQueueStartedTime
-
setQueueTimeInSeconds
-
setQueueDuration
-
setPrettyQueueDuration
-
setVcsUpdateStartedTime
-
setPrettyVcsUpdateStartedTime
-
setVcsUpdateInSeconds
-
setVcsUpdateDuration
-
setPrettyVcsUpdateDuration
-
setVcsRevisionKey
-
setBuildTestSummary
-
setSuccessfulTestCount
-
setFailedTestCount
-
setQuarantinedTestCount
-
setSkippedTestCount
-
setOnceOff
-
setRestartCount
-
setContinuable
-
setRestartable
-
setBuildReason
-
setHasExecutableAgents
-
setStages
-