com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class ProjectRoleClient
java.lang.Object
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<ProjectRoleClient>
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.ProjectRoleClient
public class ProjectRoleClient
- extends RestApiClient<ProjectRoleClient>
- Since:
- v4.4
Method Summary |
Response |
addActors(String projectKey,
String role,
String[] groupNames,
String[] userNames)
|
Response |
deleteGroup(String projectKey,
String role,
String groupName)
|
Response |
deleteUser(String projectKey,
String role,
String userName)
|
Map<String,String> |
get(String projectKey)
|
ProjectRole |
get(String projectKey,
String role)
|
protected com.sun.jersey.api.client.WebResource |
rolesWithProjectKey(String projectKey)
|
Response |
setActors(String projectKey,
String role,
Map<String,String[]> actors)
|
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
anonymous, createResource, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public com.sun.jersey.api.client.GenericType<Map<String,String>> TYPE
ProjectRoleClient
public ProjectRoleClient(JIRAEnvironmentData environmentData)
ProjectRoleClient
public ProjectRoleClient(JIRAEnvironmentData environmentData,
String version)
get
public Map<String,String> get(String projectKey)
throws com.sun.jersey.api.client.UniformInterfaceException
- Throws:
com.sun.jersey.api.client.UniformInterfaceException
get
public ProjectRole get(String projectKey,
String role)
addActors
public Response addActors(String projectKey,
String role,
@Nullable
String[] groupNames,
@Nullable
String[] userNames)
deleteGroup
public Response deleteGroup(String projectKey,
String role,
String groupName)
deleteUser
public Response deleteUser(String projectKey,
String role,
String userName)
rolesWithProjectKey
protected com.sun.jersey.api.client.WebResource rolesWithProjectKey(String projectKey)
setActors
public Response setActors(String projectKey,
String role,
Map<String,String[]> actors)
Copyright © 2002-2012 Atlassian. All Rights Reserved.