public class

ApplicationRoleControl

extends RestApiClient<T extends RestApiClient<T>>
java.lang.Object
   ↳ com.atlassian.jira.testkit.client.RestApiClient<T extends com.atlassian.jira.testkit.client.RestApiClient<T>>
     ↳ com.atlassian.jira.functest.framework.backdoor.ApplicationRoleControl

Summary

Nested Classes
class ApplicationRoleControl.ApplicationRoleBean  
[Expand]
Inherited Constants
From class com.atlassian.jira.testkit.client.RestApiClient
[Expand]
Inherited Fields
From class com.atlassian.jira.testkit.client.RestApiClient
Public Constructors
ApplicationRoleControl(JIRAEnvironmentData environmentData)
Public Methods
ApplicationRoleControl.ApplicationRoleBean getCore()
ApplicationRoleControl.ApplicationRoleBean getRole(String role)
Response<ApplicationRoleControl.ApplicationRoleBean> getRoleResponse(String role)
List<ApplicationRoleControl.ApplicationRoleBean> getRoles()
Map<StringApplicationRoleControl.ApplicationRoleBean> getRolesMap()
Response<List<ApplicationRoleControl.ApplicationRoleBean>> getRolesResponse()
ApplicationRoleControl.ApplicationRoleBean getSoftware()
boolean isEnabled()
ApplicationRoleControl.ApplicationRoleBean putRole(String role, String... groups)
ApplicationRoleControl.ApplicationRoleBean putRoleAndSetDefault(String role, String group)
Sets the application role with the passed group.
Response<ApplicationRoleControl.ApplicationRoleBean> putRoleResponse(String role, String... groups)
ApplicationRoleControl.ApplicationRoleBean putRoleSelectedByDefault(String role, boolean selectedByDefault)
ApplicationRoleControl.ApplicationRoleBean putRoleWithDefaults(String role, Iterable<String> groups, Iterable<String> defaultGroups)
ApplicationRoleControl.ApplicationRoleBean putRoleWithDefaultsSelectedByDefault(String role, boolean selectedByDefault, Iterable<String> groups, Iterable<String> defaultGroups)
Response<ApplicationRoleControl.ApplicationRoleBean> putSelectedByDefaultResponse(String role, boolean selectedByDefault)
[Expand]
Inherited Methods
From class com.atlassian.jira.testkit.client.RestApiClient
From class java.lang.Object

Public Constructors

public ApplicationRoleControl (JIRAEnvironmentData environmentData)

Public Methods

public Response<ApplicationRoleControl.ApplicationRoleBean> getRoleResponse (String role)

public Response<List<ApplicationRoleControl.ApplicationRoleBean>> getRolesResponse ()

public boolean isEnabled ()

public ApplicationRoleControl.ApplicationRoleBean putRoleAndSetDefault (String role, String group)

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.

public Response<ApplicationRoleControl.ApplicationRoleBean> putRoleResponse (String role, String... groups)

public ApplicationRoleControl.ApplicationRoleBean putRoleSelectedByDefault (String role, boolean selectedByDefault)

public ApplicationRoleControl.ApplicationRoleBean putRoleWithDefaults (String role, Iterable<String> groups, Iterable<String> defaultGroups)

public ApplicationRoleControl.ApplicationRoleBean putRoleWithDefaultsSelectedByDefault (String role, boolean selectedByDefault, Iterable<String> groups, Iterable<String> defaultGroups)

public Response<ApplicationRoleControl.ApplicationRoleBean> putSelectedByDefaultResponse (String role, boolean selectedByDefault)