Class GroupControl
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.BackdoorControl<GroupControl>
-
- com.atlassian.bamboo.testutils.backdoor.GroupControl
-
public class GroupControl extends BackdoorControl<GroupControl>
-
-
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 GroupControl(@NotNull BambooEnvironmentData environmentData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupControl
addUsersToGroup(TestGroup group, Collection<String> usersToAdd)
GroupControl
createGroup(TestGroup group)
GroupControl
createGroup(String groupName)
TestGroup
createTemporaryGroup()
GroupControl
createTemporaryGroup(TestGroup group)
GroupControl
deleteGroup(String groupName)
GroupControl
removeUsersFromGroup(TestGroup group, Collection<String> usersToAdd)
void
tearDown()
Cleanup resources-
Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot
-
-
-
-
Constructor Detail
-
GroupControl
public GroupControl(@NotNull @NotNull BambooEnvironmentData environmentData)
-
-
Method Detail
-
tearDown
public void tearDown()
Description copied from class:BackdoorControl
Cleanup resources- Overrides:
tearDown
in classBackdoorControl<GroupControl>
-
createTemporaryGroup
public GroupControl createTemporaryGroup(TestGroup group)
-
createTemporaryGroup
public TestGroup createTemporaryGroup()
-
createGroup
public GroupControl createGroup(TestGroup group)
-
createGroup
public GroupControl createGroup(String groupName)
-
addUsersToGroup
public GroupControl addUsersToGroup(TestGroup group, Collection<String> usersToAdd)
-
removeUsersFromGroup
public GroupControl removeUsersFromGroup(TestGroup group, Collection<String> usersToAdd)
-
deleteGroup
public GroupControl deleteGroup(String groupName)
-
-