com.atlassian.greenhopper.service.rapid
Interface RecentSprintHistoryService

All Known Implementing Classes:
RecentSprintHistoryServiceImpl

public interface 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
 

Method Detail

storeSprint

void storeSprint(@Nullable
                 com.atlassian.crowd.embedded.api.User user,
                 Sprint sprint)
Store a sprint in the history

Parameters:
user - the user to find; may be null

getRecentSprints

@Nonnull
java.util.List<Sprint> getRecentSprints(@Nullable
                                                com.atlassian.crowd.embedded.api.User user,
                                                int count)
Get the recent sprints for the specified user

Parameters:
user - the user to find; may be null
count - the max number of recent sprints to return
Returns:
a list of sprints

getRecentSprintsMatchingPredicate

@Nonnull
java.util.List<Sprint> getRecentSprintsMatchingPredicate(@Nullable
                                                                 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

Parameters:
user - the user to find
predicate - the predicate to match
count - 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.