com.atlassian.greenhopper.service.version
Class ReleaseServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.version.ReleaseServiceImpl
- All Implemented Interfaces:
- ReleaseService
@Service
public class ReleaseServiceImpl
- extends java.lang.Object
- implements ReleaseService
Method Summary |
ServiceOutcome<java.lang.Void> |
createAndReleaseVersion(com.atlassian.crowd.embedded.api.User user,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate,
java.lang.Long rapidViewId,
java.lang.Long columnId)
Create a version in each project that has issues in the done column, associate the version with the issues and release it. |
ServiceOutcome<com.atlassian.jira.issue.search.SearchRequest> |
getNavigatorSearch(com.atlassian.crowd.embedded.api.User user,
java.lang.Long projectId,
java.lang.Long rapidViewId,
java.lang.Long columnId)
Get a non-persisted search request (a.k.a. |
ServiceOutcome<java.util.Map<com.atlassian.jira.project.Project,java.lang.Integer>> |
getProjectReleasableIssueCount(com.atlassian.crowd.embedded.api.User user,
java.lang.Long rapidViewId,
java.lang.Long columnId)
Fetch infos upfront about what the user is going to do when she's releasing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final LoggerWrapper log
ReleaseServiceImpl
public ReleaseServiceImpl()
createAndReleaseVersion
public ServiceOutcome<java.lang.Void> createAndReleaseVersion(com.atlassian.crowd.embedded.api.User user,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate,
java.lang.Long rapidViewId,
java.lang.Long columnId)
- Description copied from interface:
ReleaseService
- Create a version in each project that has issues in the done column, associate the version with the issues and release it.
- Specified by:
createAndReleaseVersion
in interface ReleaseService
name
- : The version namedescription
- : The version descriptioncolumnId
- : The ID of the column to be released
getProjectReleasableIssueCount
public ServiceOutcome<java.util.Map<com.atlassian.jira.project.Project,java.lang.Integer>> getProjectReleasableIssueCount(com.atlassian.crowd.embedded.api.User user,
java.lang.Long rapidViewId,
java.lang.Long columnId)
- Fetch infos upfront about what the user is going to do when she's releasing. This is not a very smart way of fetching this data... once we have
a better, lucene-ish way of doing things *meaningful pause
- Specified by:
getProjectReleasableIssueCount
in interface ReleaseService
- Returns:
- Map of project to number of issues currently in the given column, or an empty map if there were errors
getNavigatorSearch
public ServiceOutcome<com.atlassian.jira.issue.search.SearchRequest> getNavigatorSearch(com.atlassian.crowd.embedded.api.User user,
java.lang.Long projectId,
java.lang.Long rapidViewId,
java.lang.Long columnId)
- Description copied from interface:
ReleaseService
- Get a non-persisted search request (a.k.a. saved filter) that can be used to populate the issue navigator. This will include the given
project and issues that are in the column of the given rapid view that matches the given columnId.
- Specified by:
getNavigatorSearch
in interface ReleaseService
- Returns:
- SearchRequest or null if something went wrong, in which case errors will contain why.
Copyright © 2007-2014 Atlassian. All Rights Reserved.