|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectRestClient
The com.atlassian.jira.rest.client.api handling project resources.
Method Summary | |
---|---|
com.atlassian.util.concurrent.Promise<java.lang.Iterable<BasicProject>> |
getAllProjects()
Returns all projects, which are visible for the currently logged in user. |
com.atlassian.util.concurrent.Promise<Project> |
getProject(java.lang.String key)
Retrieves complete information about given project. |
com.atlassian.util.concurrent.Promise<Project> |
getProject(java.net.URI projectUri)
Retrieves complete information about given project. |
Method Detail |
---|
com.atlassian.util.concurrent.Promise<Project> getProject(java.lang.String key)
key
- unique key of the project (usually 2+ characters)
RestClientException
- in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<Project> getProject(java.net.URI projectUri)
getProject(String)
wheever you can, as this method is proof for potential changes of URI scheme used for exposing various
resources by JIRA REST API.
projectUri
- URI to project resource (usually get from self
attribute describing component elsewhere
RestClientException
- in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<java.lang.Iterable<BasicProject>> getAllProjects()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |