public class AsynchronousProjectRolesRestClient extends AbstractAsynchronousRestClient implements ProjectRolesRestClient
AbstractAsynchronousRestClient.ResponseHandler<T>| Constructor and Description |
|---|
AsynchronousProjectRolesRestClient(URI serverUri,
com.atlassian.httpclient.api.HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<ProjectRole> |
getRole(URI uri) |
com.atlassian.util.concurrent.Promise<ProjectRole> |
getRole(URI projectUri,
Long roleId) |
com.atlassian.util.concurrent.Promise<Iterable<ProjectRole>> |
getRoles(URI projectUri) |
call, callAndParse, callAndParse, client, delete, getAndParse, post, post, post, post, postAndParse, postAndParse, put, putAndParsepublic AsynchronousProjectRolesRestClient(URI serverUri, com.atlassian.httpclient.api.HttpClient client)
public com.atlassian.util.concurrent.Promise<ProjectRole> getRole(URI uri)
getRole in interface ProjectRolesRestClientpublic com.atlassian.util.concurrent.Promise<ProjectRole> getRole(URI projectUri, Long roleId)
getRole in interface ProjectRolesRestClientpublic com.atlassian.util.concurrent.Promise<Iterable<ProjectRole>> getRoles(URI projectUri)
getRoles in interface ProjectRolesRestClientCopyright © 2016 Atlassian. All rights reserved.