|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectRestClient
The client handling project resources.
Method Summary | |
---|---|
Iterable<BasicProject> |
getAllProjects(ProgressMonitor progressMonitor)
Returns all projects, which are visible for the currently logged in user. |
Project |
getProject(String key,
ProgressMonitor progressMonitor)
Retrieves complete information about given project. |
Project |
getProject(URI projectUri,
ProgressMonitor progressMonitor)
Retrieves complete information about given project. |
Method Detail |
---|
Project getProject(String key, ProgressMonitor progressMonitor)
key
- unique key of the project (usually 2+ characters)progressMonitor
- progress monitor
RestClientException
- in case of problems (connectivity, malformed messages, etc.)Project getProject(URI projectUri, ProgressMonitor progressMonitor)
getProject(String, ProgressMonitor)
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 elsewhereprogressMonitor
- progress monitor
RestClientException
- in case of problems (connectivity, malformed messages, etc.)Iterable<BasicProject> getAllProjects(ProgressMonitor progressMonitor)
progressMonitor
- progress monitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |