Class ApplicationRoleControl
java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<ApplicationRoleControl>
com.atlassian.jira.functest.framework.backdoor.ApplicationRoleControl
public class ApplicationRoleControl
extends com.atlassian.jira.testkit.client.RestApiClient<ApplicationRoleControl>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient
com.atlassian.jira.testkit.client.RestApiClient.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.RestApiClient.JsonMediaTypeFilter, com.atlassian.jira.testkit.client.RestApiClient.RestCall, com.atlassian.jira.testkit.client.RestApiClient.SessionlessConsistencyFilter -
Field Summary
Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient
REST_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCore()com.atlassian.jira.testkit.client.restclient.ParsedResponse<ApplicationRoleControl.ApplicationRoleBean> getRoleResponse(String role) getRoles()com.atlassian.jira.testkit.client.restclient.ParsedResponse<List<ApplicationRoleControl.ApplicationRoleBean>> putRoleAndSetDefault(String role, String group) Sets the application role with the passed group.com.atlassian.jira.testkit.client.restclient.ParsedResponse<ApplicationRoleControl.ApplicationRoleBean> putRoleResponse(String role, String... groups) putRoleSelectedByDefault(String role, boolean selectedByDefault) putRoleWithDefaultsSelectedByDefault(String role, boolean selectedByDefault, Iterable<String> groups, Iterable<String> defaultGroups) com.atlassian.jira.testkit.client.restclient.ParsedResponse<ApplicationRoleControl.ApplicationRoleBean> putSelectedByDefaultResponse(String role, boolean selectedByDefault) Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient
anonymous, authenticate, authoriseWithOAuth2, authoriseWithOAuth2, cleanUp, client, createResource, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getCredentialsProvider, getEnvironmentData, loginAs, loginAs, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse, withCredentialsProvider
-
Constructor Details
-
ApplicationRoleControl
-
-
Method Details
-
getRoles
-
getRolesMap
-
getRolesResponse
public com.atlassian.jira.testkit.client.restclient.ParsedResponse<List<ApplicationRoleControl.ApplicationRoleBean>> getRolesResponse() -
getRole
-
getCore
-
getSoftware
-
getRoleResponse
public com.atlassian.jira.testkit.client.restclient.ParsedResponse<ApplicationRoleControl.ApplicationRoleBean> getRoleResponse(String role) -
putRole
-
putRoleWithDefaults
-
putRoleSelectedByDefault
public ApplicationRoleControl.ApplicationRoleBean putRoleSelectedByDefault(String role, boolean selectedByDefault) -
putRoleWithDefaultsSelectedByDefault
-
putRoleAndSetDefault
Sets the application role with the passed group. The passed group will also become one of the defaults.- Parameters:
role- the role to update.group- the group to add to to role.- Returns:
- the actual data from the server.
-
putRoleResponse
public com.atlassian.jira.testkit.client.restclient.ParsedResponse<ApplicationRoleControl.ApplicationRoleBean> putRoleResponse(String role, String... groups) -
putSelectedByDefaultResponse
public com.atlassian.jira.testkit.client.restclient.ParsedResponse<ApplicationRoleControl.ApplicationRoleBean> putSelectedByDefaultResponse(String role, boolean selectedByDefault)
-