public class GroupControl extends BackdoorControl<GroupControl>
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
Constructor and Description |
---|
GroupControl(@NotNull BambooEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
GroupControl |
addUsersToGroup(TestGroup group,
Collection<String> usersToAdd) |
GroupControl |
createGroup(String groupName) |
GroupControl |
createGroup(TestGroup group) |
TestGroup |
createTemporaryGroup() |
GroupControl |
createTemporaryGroup(TestGroup group) |
GroupControl |
deleteGroup(String groupName) |
GroupControl |
removeUsersFromGroup(TestGroup group,
Collection<String> usersToAdd) |
void |
tearDown()
Cleanup resources
|
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot
public GroupControl(@NotNull @NotNull BambooEnvironmentData environmentData)
public void tearDown()
BackdoorControl
tearDown
in class BackdoorControl<GroupControl>
public GroupControl createTemporaryGroup(TestGroup group)
public TestGroup createTemporaryGroup()
public GroupControl createGroup(TestGroup group)
public GroupControl createGroup(String groupName)
public GroupControl addUsersToGroup(TestGroup group, Collection<String> usersToAdd)
public GroupControl removeUsersFromGroup(TestGroup group, Collection<String> usersToAdd)
public GroupControl deleteGroup(String groupName)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.