|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionService
Wrapper for JIRA's services / managers dealing with versions. Mainly here to shield the rest of the service world from horrible implementation details.
Method Summary | |
---|---|
ServiceOutcome<java.lang.Void> |
addIssueToVersion(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.project.version.Version version)
Adds the issue to the version. |
ServiceOutcome<com.atlassian.jira.util.lang.Pair<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version>> |
createVersion(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.project.Project project,
java.lang.String name,
java.lang.String description,
java.util.Date releaseDate,
java.util.Date startDate)
Creates a single project version. |
ServiceOutcome<com.atlassian.jira.util.lang.Pair<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version>> |
createVersion(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.project.Project project,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate)
Creates a single project version. |
ServiceOutcome<java.util.Map<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version>> |
createVersions(com.atlassian.crowd.embedded.api.User user,
java.util.Collection<com.atlassian.jira.project.Project> projects,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate)
Build a version out of the given parameters and create it. |
ServiceOutcome<com.atlassian.jira.project.version.Version> |
get(com.atlassian.crowd.embedded.api.User user,
java.lang.Long versionId)
Get the specified version and return an error if it is not found. |
VersionMetaData |
getMetaData(com.atlassian.jira.project.version.Version version)
Get the meta data associated to this version. |
ServiceOutcome<java.lang.Void> |
releaseVersions(com.atlassian.crowd.embedded.api.User user,
java.util.Collection<com.atlassian.jira.project.version.Version> versions,
org.joda.time.DateMidnight releaseDate)
Release the given versions. |
ServiceOutcome<java.lang.Void> |
setFixVersions(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue,
java.util.Collection<com.atlassian.jira.project.version.Version> versions)
Sets a collection of versions onto an issue. |
ServiceOutcome<java.lang.Void> |
updateVersion(com.atlassian.crowd.embedded.api.User user,
java.lang.Long versionId,
java.lang.String versionName,
java.lang.String versionDescription,
java.util.Date releaseDate,
java.util.Date startDate)
Update the version with the specified parameters. |
Method Detail |
---|
ServiceOutcome<java.util.Map<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version>> createVersions(com.atlassian.crowd.embedded.api.User user, java.util.Collection<com.atlassian.jira.project.Project> projects, java.lang.String name, java.lang.String description, org.joda.time.DateMidnight releaseDate)
releaseDate
- : optional
ServiceOutcome<com.atlassian.jira.util.lang.Pair<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version>> createVersion(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.project.Project project, java.lang.String name, java.lang.String description, org.joda.time.DateMidnight releaseDate)
createVersions(com.atlassian.crowd.embedded.api.User, java.util.Collection, String, String, org.joda.time.DateMidnight)
releaseDate
- : optional
ServiceOutcome<com.atlassian.jira.util.lang.Pair<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version>> createVersion(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.project.Project project, java.lang.String name, java.lang.String description, java.util.Date releaseDate, java.util.Date startDate)
createVersions(com.atlassian.crowd.embedded.api.User, java.util.Collection, String, String, org.joda.time.DateMidnight)
releaseDate
- : optional
ServiceOutcome<java.lang.Void> addIssueToVersion(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue, com.atlassian.jira.project.version.Version version)
ServiceOutcome<java.lang.Void> setFixVersions(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue, java.util.Collection<com.atlassian.jira.project.version.Version> versions)
ServiceOutcome<java.lang.Void> releaseVersions(com.atlassian.crowd.embedded.api.User user, java.util.Collection<com.atlassian.jira.project.version.Version> versions, org.joda.time.DateMidnight releaseDate)
releaseDate
- : optional
ServiceOutcome<com.atlassian.jira.project.version.Version> get(com.atlassian.crowd.embedded.api.User user, java.lang.Long versionId)
versionId
-
ServiceOutcome<java.lang.Void> updateVersion(com.atlassian.crowd.embedded.api.User user, java.lang.Long versionId, java.lang.String versionName, java.lang.String versionDescription, java.util.Date releaseDate, java.util.Date startDate)
user
- versionId
- versionName
- versionDescription
- releaseDate
- startDate
-
@Nonnull VersionMetaData getMetaData(@Nonnull com.atlassian.jira.project.version.Version version)
version
- the version; must not be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |