Class RecentSprintHistoryServiceImpl

java.lang.Object
com.atlassian.greenhopper.service.rapid.RecentSprintHistoryServiceImpl
All Implemented Interfaces:
RecentSprintHistoryService

@Service public class RecentSprintHistoryServiceImpl extends Object implements RecentSprintHistoryService
  • Constructor Details

    • RecentSprintHistoryServiceImpl

      public RecentSprintHistoryServiceImpl()
  • Method Details

    • storeSprint

      public void storeSprint(@Nullable com.atlassian.jira.user.ApplicationUser 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 List<Sprint> getRecentSprints(@Nullable com.atlassian.jira.user.ApplicationUser 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 null
      count - the max number of recent sprints to return
      Returns:
      a list of sprints
    • getRecentSprintsMatchingPredicate

      @Nonnull public List<Sprint> getRecentSprintsMatchingPredicate(@Nullable com.atlassian.jira.user.ApplicationUser 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 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