|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RedmineService
The service that mirrors the rails jredmine plugin.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
Plexus lookup name |
| Method Summary | |
|---|---|
Attachment |
addAttachment(java.lang.String projectName,
java.lang.String versionName,
Attachment attachement)
Add a attachment for a given version of a given project. |
News |
addNews(java.lang.String projectName,
News news)
Add a news for a given project. |
Version |
addVersion(java.lang.String projectName,
Version version)
Add a version for a given project. |
Attachment[] |
getAttachments(java.lang.String projectName,
java.lang.String versionName)
Obtain all attachments for a specific version on a given project |
IssueCategory[] |
getIssueCategories(java.lang.String projectName)
Obtain all categories defined on issues for a given project. |
IssuePriority[] |
getIssuePriorities()
Obtain all the priorities defined on a Issue. |
Issue[] |
getIssues(java.lang.String projectName,
java.lang.String versionName)
Obtain all issues for a specific version on a given project |
IssueStatus[] |
getIssueStatuses()
Obtain all the statuses defined on a Issue. |
News[] |
getNews(java.lang.String projectName)
Obtain all news defined on a given project. |
Project |
getProject(java.lang.String projectName)
Obtain a project given his name. |
Project[] |
getProjects()
Obtain all accessible projets for the loggued user. |
Tracker[] |
getTrackers(java.lang.String projectName)
Obtain all trackers defined on a given project. |
User[] |
getUsers(java.lang.String projectName)
Obtain all users defined on a given project. |
Version |
getVersion(java.lang.String projectName,
java.lang.String versionName)
Obtain a specific version for a given project. |
Version[] |
getVersions(java.lang.String projectName)
Obtain all versions defined on a given project. |
Version |
nextVersion(java.lang.String projectName,
java.lang.String oldVersionName,
Version newVersion)
Prepare a new version (create it or update it). |
Version |
updateVersion(java.lang.String projectName,
Version version)
Update a version for a given project. |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
Project[] getProjects()
throws RedmineServiceException
RedmineServiceException - if any pb while retriving datasProject
IssuePriority[] getIssuePriorities()
throws RedmineServiceException
Issue.
Note : The priorities are common for all projects.
RedmineServiceException - if any pb while retriving datasIssuePriority
IssueStatus[] getIssueStatuses()
throws RedmineServiceException
Issue.
Note : The statuses are common for all projects.
RedmineServiceException - if any pb while retriving datasIssueStatus
Project getProject(java.lang.String projectName)
throws RedmineServiceException
projectName - the name of the project
RedmineServiceException - if any pb while retriving datasProject
IssueCategory[] getIssueCategories(java.lang.String projectName)
throws RedmineServiceException
projectName - the name of the project
RedmineServiceException - if any pb while retriving datasIssueCategory
Tracker[] getTrackers(java.lang.String projectName)
throws RedmineServiceException
projectName - the name of the project
RedmineServiceException - if any pb while retriving datasTracker
News[] getNews(java.lang.String projectName)
throws RedmineServiceException
projectName - the name of the project
RedmineServiceException - if any pb while retriving datasNews
User[] getUsers(java.lang.String projectName)
throws RedmineServiceException
projectName - the name of the project
RedmineServiceException - if any pb while retriving datasUser
Version[] getVersions(java.lang.String projectName)
throws RedmineServiceException
projectName - the name of the project
RedmineServiceException - if any pb while retriving datasVersion
Version getVersion(java.lang.String projectName,
java.lang.String versionName)
throws RedmineServiceException
projectName - the name of the projectversionName - the name of the version
RedmineServiceException - if any pb while retriving datasVersion
Issue[] getIssues(java.lang.String projectName,
java.lang.String versionName)
throws RedmineServiceException
projectName - the name of the projectversionName - the name of the version
RedmineServiceException - if any pb while retriving datasIssue
Attachment[] getAttachments(java.lang.String projectName,
java.lang.String versionName)
throws RedmineServiceException
projectName - the name of the projectversionName - the name of the version
RedmineServiceException - if any pb while retriving datasAttachment
Version addVersion(java.lang.String projectName,
Version version)
throws RedmineServiceException
projectName - the name of the projectversion - the version to add
RedmineServiceException - if any pb while sending and retriving datas to redmine serverVersion
Version updateVersion(java.lang.String projectName,
Version version)
throws RedmineServiceException
projectName - the name of the projectversion - the version to update
RedmineServiceException - if any pb while sending and retriving datas to redmine serverVersion
Version nextVersion(java.lang.String projectName,
java.lang.String oldVersionName,
Version newVersion)
throws RedmineServiceException
oldVersionName is given, then all issues unclosed from this
old version will be move to the new version.
projectName - the name of the projectoldVersionName - the name of the old version (optional)newVersion - the newVersion to create or update
RedmineServiceException - if any pb while sending and retriving datas to redmine serverVersion
News addNews(java.lang.String projectName,
News news)
throws RedmineServiceException
projectName - the name of the projectnews - the news to add
RedmineServiceException - if any pb while sending and retriving datas to redmine serverNews
Attachment addAttachment(java.lang.String projectName,
java.lang.String versionName,
Attachment attachement)
throws RedmineServiceException
projectName - the name of the projectversionName - the name of the versionattachement - the attachment to add
RedmineServiceException - if any pb while sending and retriving datas to redmine serverAttachment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||