com.atlassian.greenhopper.service.rapid
Class RecentSprintHistoryServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.rapid.RecentSprintHistoryServiceImpl
- All Implemented Interfaces:
- RecentSprintHistoryService
@Service
public class RecentSprintHistoryServiceImpl
- extends java.lang.Object
- implements RecentSprintHistoryService
Method Summary |
java.util.List<Sprint> |
getRecentSprints(com.atlassian.crowd.embedded.api.User user,
int count)
Get the recent sprints for the specified user |
java.util.List<Sprint> |
getRecentSprintsMatchingPredicate(com.atlassian.crowd.embedded.api.User user,
com.google.common.base.Predicate<Sprint> predicate,
int count)
Get a list of recent sprints matching a specified predicate and user |
void |
storeSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Store a sprint in the history |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecentSprintHistoryServiceImpl
public RecentSprintHistoryServiceImpl()
storeSprint
public void storeSprint(@Nullable
com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
- Description copied from interface:
RecentSprintHistoryService
- Store a sprint in the history
- Specified by:
storeSprint
in interface RecentSprintHistoryService
- Parameters:
user
- the user to find; may be null
getRecentSprints
@Nonnull
public java.util.List<Sprint> getRecentSprints(@Nullable
com.atlassian.crowd.embedded.api.User user,
int count)
- Description copied from interface:
RecentSprintHistoryService
- Get the recent sprints for the specified user
- Specified by:
getRecentSprints
in interface RecentSprintHistoryService
- Parameters:
user
- the user to find; may be nullcount
- the max number of recent sprints to return
- Returns:
- a list of sprints
getRecentSprintsMatchingPredicate
@Nonnull
public java.util.List<Sprint> getRecentSprintsMatchingPredicate(@Nullable
com.atlassian.crowd.embedded.api.User user,
com.google.common.base.Predicate<Sprint> predicate,
int count)
- Description copied from interface:
RecentSprintHistoryService
- Get a list of recent sprints matching a specified predicate and user
- Specified by:
getRecentSprintsMatchingPredicate
in interface RecentSprintHistoryService
- Parameters:
user
- the user to findpredicate
- the predicate to matchcount
- the max number of sprints to return, count < 1 will resolve all recent sprints
- Returns:
- a list of sprints
Copyright © 2007-2014 Atlassian. All Rights Reserved.