Class ProjectStatisticsManagerImpl

java.lang.Object
com.atlassian.jira.issue.statistics.ProjectStatisticsManagerImpl
All Implemented Interfaces:
ProjectStatisticsManager

public class ProjectStatisticsManagerImpl extends Object implements ProjectStatisticsManager
  • Constructor Details

    • ProjectStatisticsManagerImpl

      public ProjectStatisticsManagerImpl(StatisticsManager statisticsManager)
  • Method Details

    • getProjectsResultingFrom

      public Set<Project> getProjectsResultingFrom(Optional<Query> query)
      Returns all the projects that the issues resulting from the given query belong to.
      Specified by:
      getProjectsResultingFrom in interface ProjectStatisticsManager
      Parameters:
      query - the query to determine the projects of. Optional; in which case the empty query is used.
      Returns:
      the set of Projects for which issues were found as a result of evaluating the query.