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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateBuildResultWarning(PlanResultKey planResultKey, long repositoryId, long highPriority, long normalPriority, long lowPriority) io.restassured.response.ResponsegetBuildResultAsResponse(@NotNull PlanKey planKey, int buildNumber) Get build result via RESTintgetLatestBuildNumber(PlanKey planKey) io.restassured.response.ResponsegetLatestResultResponse(PlanKey planKey) getMetadata(@NotNull PlanResultKey planResultKey) @NotNull ResultDetailsgetResultDetails(@NotNull PlanKey planKey, int buildNumber) @NotNull ResultDetailsgetResultDetails(@NotNull PlanResultKey planResultKey) @NotNull RestBuildLabelsgetResultLabels(@NotNull PlanKey planKey, int buildNumber) getResultLabels(PlanResultKey planResultKey) io.restassured.response.ResponsegetResultsResponse(PlanKey planKey) @NotNull List<RestTestResult> getResultTests(@NotNull PlanResultKey jobResultKey) Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
anonymousResourceRoot, client, createAnonymousResourceForPath, createAnonymousResourceForPath, createResource, createResourceForPath, createResourceForPath, get, getEnvironmentData, getRestModulePath, getRootPath, percentEncode, ping, post, resourceRoot, resourceRootWithForcedTokenAuth, 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)
-