|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.service.sprint.SprintServiceImpl
@Service public class SprintServiceImpl
| Constructor Summary | |
|---|---|
SprintServiceImpl()
|
|
| Method Summary | |
|---|---|
ServiceOutcome<Sprint> |
createSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprintToCreate,
java.util.Set<com.atlassian.jira.issue.Issue> issues,
boolean ensureSprintDatesOccurAfterIssueUpdates)
Create a new sprint. The user needs to have Project Administrator permissions for all issues. |
ServiceOutcome<java.lang.Void> |
deleteSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Delete a sprint |
ServiceOutcome<Sprint> |
getSprint(com.atlassian.crowd.embedded.api.User user,
long sprintId)
Get a sprint given its id The sprint is only returned if the user can see at least one of the issues assigned to the sprint |
ServiceOutcome<Sprint> |
updateSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Update a sprint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SprintServiceImpl()
| Method Detail |
|---|
@NotNull
public ServiceOutcome<Sprint> getSprint(com.atlassian.crowd.embedded.api.User user,
long sprintId)
SprintService
getSprint in interface SprintService
public ServiceOutcome<Sprint> createSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprintToCreate,
java.util.Set<com.atlassian.jira.issue.Issue> issues,
boolean ensureSprintDatesOccurAfterIssueUpdates)
SprintService
createSprint in interface SprintServiceuser - the usersprintToCreate - the sprint object to persistissues - the issues to include in the sprintensureSprintDatesOccurAfterIssueUpdates - if this flag is set to true, sprints with a start date in the past will be
"forward dated" so that they actually start at the instant after all issues have been added
to the sprint. This is to ensure that the adding of issues to the sprint does not show up
as scope change in burndowns.
@NotNull
public ServiceOutcome<Sprint> updateSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
SprintService
updateSprint in interface SprintService
@NotNull
public ServiceOutcome<java.lang.Void> deleteSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
SprintService
deleteSprint in interface SprintService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||