public interface ProjectRolesRestClient
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<ProjectRole> |
getRole(URI uri)
Retrieves a full information about the selected role.
|
com.atlassian.util.concurrent.Promise<ProjectRole> |
getRole(URI projectUri,
Long roleId)
Retrieves a full information about the selected role.
|
com.atlassian.util.concurrent.Promise<Iterable<ProjectRole>> |
getRoles(URI projectUri)
Retrieves a collection of roles in the selected project.
|
com.atlassian.util.concurrent.Promise<ProjectRole> getRole(URI uri)
uri
- URI of the role to retrieve.RestClientException
- in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<ProjectRole> getRole(URI projectUri, Long roleId)
projectUri
- uri of the project of the role to retrieve.roleId
- unique role id.RestClientException
- in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<Iterable<ProjectRole>> getRoles(URI projectUri)
projectUri
- uri of the project of the roles to retrieve.RestClientException
- in case of problems (connectivity, malformed messages, etc.)Copyright © 2013 Atlassian. All Rights Reserved.