Class BuildResultsControl
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.BackdoorControl<BuildResultsControl>
-
- com.atlassian.bamboo.testutils.backdoor.BuildResultsControl
-
public class BuildResultsControl extends BackdoorControl<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, rootPath
-
-
Constructor Summary
Constructors Constructor Description BuildResultsControl(@NotNull BambooEnvironmentData environmentData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateBuildResultWarning(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)@NotNull Map<String,String>getMetadata(@NotNull PlanResultKey planResultKey)@NotNull ResultDetailsgetResultDetails(@NotNull PlanKey planKey, int buildNumber)@NotNull ResultDetailsgetResultDetails(@NotNull PlanResultKey planResultKey)@NotNull RestBuildLabelsgetResultLabels(@NotNull PlanKey planKey, int buildNumber)RestBuildLabelsgetResultLabels(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
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
-
-
-
-
Constructor Detail
-
BuildResultsControl
public BuildResultsControl(@NotNull @NotNull BambooEnvironmentData environmentData)
-
-
Method Detail
-
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
public RestBuildLabels getResultLabels(PlanResultKey planResultKey)
-
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
public io.restassured.response.Response getLatestResultResponse(PlanKey planKey)
-
getLatestBuildNumber
public int getLatestBuildNumber(PlanKey planKey)
-
getResultsResponse
public io.restassured.response.Response getResultsResponse(PlanKey planKey)
-
createBuildResultWarning
public void createBuildResultWarning(PlanResultKey planResultKey, long repositoryId, long highPriority, long normalPriority, long lowPriority)
-
-