Class DatabaseControl
java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<DatabaseControl>
com.atlassian.bamboo.testutils.backdoor.DatabaseControl
-
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 TypeMethodDescription@NotNull Long
@NotNull Long
getTestCasesCount
(PlanKey planKey) boolean
isVcsBranchMarkedAsDeleted
(@NotNull PlanKey planKey, @NotNull String vcsBranchName) Checks if a given VCS branch for the specified plan is marked as deleted in the database, indicating that all plan branches referring to it should be cleaned up.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
-
DatabaseControl
-
-
Method Details
-
getTestCasesCount
-
getTestCasesCount
-
isVcsBranchMarkedAsDeleted
public boolean isVcsBranchMarkedAsDeleted(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull String vcsBranchName) throws NotFoundException Checks if a given VCS branch for the specified plan is marked as deleted in the database, indicating that all plan branches referring to it should be cleaned up. Will return false if the database entry for the given branch does not exist.- Throws:
NotFoundException
-