public class ComponentStatisticsManagerImpl extends Object implements ComponentStatisticsManager
Constructor and Description |
---|
ComponentStatisticsManagerImpl(StatisticsManager statisticsManager,
ProjectComponentManager projectComponentManager) |
Modifier and Type | Method and Description |
---|---|
Map<Project,Map<ProjectComponent,Integer>> |
getProjectsWithComponentsWithIssueCount(Optional<Query> query)
This method evaluates the query, and returns all the projects and components that the issues resulting from
the given query belong to, along with the issue count for each component.
|
public ComponentStatisticsManagerImpl(StatisticsManager statisticsManager, ProjectComponentManager projectComponentManager)
public Map<Project,Map<ProjectComponent,Integer>> getProjectsWithComponentsWithIssueCount(Optional<Query> query)
getProjectsWithComponentsWithIssueCount
in interface ComponentStatisticsManager
query
- the query to filter the count and project results by.
Optional, in which case, the empty query (all results) is used.Copyright © 2002-2024 Atlassian. All Rights Reserved.