Class BuildResultsControl
java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<BuildResultsControl>
com.atlassian.bamboo.testutils.backdoor.BuildResultsControl
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
-
Field Summary
Fields inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, XSRF_NO_CHECK, XSRF_TOKEN_HEADER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createBuildResultWarning
(PlanResultKey planResultKey, long repositoryId, long highPriority, long normalPriority, long lowPriority) io.restassured.response.Response
getBuildResultAsResponse
(@NotNull PlanKey planKey, int buildNumber) Get build result via RESTint
getLatestBuildNumber
(PlanKey planKey) io.restassured.response.Response
getLatestResultResponse
(PlanKey planKey) getMetadata
(@NotNull PlanResultKey planResultKey) @NotNull ResultDetails
getResultDetails
(@NotNull PlanKey planKey, int buildNumber) @NotNull ResultDetails
getResultDetails
(@NotNull PlanResultKey planResultKey) @NotNull RestBuildLabels
getResultLabels
(@NotNull PlanKey planKey, int buildNumber) getResultLabels
(PlanResultKey planResultKey) io.restassured.response.Response
getResultsResponse
(PlanKey planKey) @NotNull List<RestTestResult>
getResultTests
(@NotNull PlanResultKey jobResultKey) Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
anonymousResourceRoot, client, createResource, createResourceForPath, createResourceForPath, get, getEnvironmentData, getRestModulePath, getRootPath, percentEncode, ping, post, resourceRoot, tearDown
-
Constructor Details
-
BuildResultsControl
-
-
Method Details
-
getMetadata
@NotNull public @NotNull Map<String,String> getMetadata(@NotNull @NotNull PlanResultKey planResultKey) -
getResultDetails
@NotNull public @NotNull ResultDetails getResultDetails(@NotNull @NotNull PlanKey planKey, int buildNumber) -
getResultLabels
@NotNull public @NotNull RestBuildLabels getResultLabels(@NotNull @NotNull PlanKey planKey, int buildNumber) -
getResultLabels
-
getResultDetails
@NotNull public @NotNull ResultDetails getResultDetails(@NotNull @NotNull PlanResultKey planResultKey) -
getResultTests
@NotNull public @NotNull List<RestTestResult> getResultTests(@NotNull @NotNull PlanResultKey jobResultKey) -
getBuildResultAsResponse
public io.restassured.response.Response getBuildResultAsResponse(@NotNull @NotNull PlanKey planKey, int buildNumber) Get build result via REST- Parameters:
planKey
- plan keybuildNumber
- build number
-
getLatestResultResponse
-
getLatestBuildNumber
-
getResultsResponse
-
createBuildResultWarning
public void createBuildResultWarning(PlanResultKey planResultKey, long repositoryId, long highPriority, long normalPriority, long lowPriority)
-