com.atlassian.greenhopper.service.statistics
Class StatServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.AbstractService
com.atlassian.greenhopper.service.statistics.StatServiceImpl
- All Implemented Interfaces:
- StatService
@Service(value="gh-statService")
public class StatServiceImpl
- extends AbstractService
- implements StatService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatServiceImpl
public StatServiceImpl()
getSummariesForVersionIds
public java.util.Map<java.lang.String,Summary> getSummariesForVersionIds(BoardContext boardContext,
java.util.Collection<java.lang.String> versionIds)
throws com.atlassian.jira.issue.search.SearchException
- Collect statistics for Versions. See
SummaryStatsCollector
for details.
- Specified by:
getSummariesForVersionIds
in interface StatService
- Parameters:
boardContext
- : The per request cache, used here to get the status configurationversionIds
- : The version IDs to search for
- Returns:
- a map of statistical data for each requested version, where key is the version ID.
- Throws:
com.atlassian.jira.issue.search.SearchException
getSummariesForAssigneeIds
public java.util.Map<java.lang.String,Summary> getSummariesForAssigneeIds(BoardContext boardContext,
java.util.Collection<java.lang.String> assigneeIds)
throws com.atlassian.jira.issue.search.SearchException
- Collect statistics for Assignees. See
SummaryStatsCollector
for details.
- Specified by:
getSummariesForAssigneeIds
in interface StatService
- Parameters:
boardContext
- : The per request cache, used here to get the status configurationassigneeIds
- : The assignee IDs to search for
- Returns:
- a map of statistical data for each requested assignee, where key is the assignee ID.
- Throws:
com.atlassian.jira.issue.search.SearchException
getSummariesForComponentIds
public java.util.Map<java.lang.String,Summary> getSummariesForComponentIds(BoardContext boardContext,
java.util.Collection<java.lang.String> componentIds)
throws com.atlassian.jira.issue.search.SearchException
- Collect statistics for Components. See
SummaryStatsCollector
for details.
- Specified by:
getSummariesForComponentIds
in interface StatService
- Parameters:
boardContext
- : The per request cache, used here to get the status configurationcomponentIds
- : The component IDs to search for
- Returns:
- a map of statistical data for each requested component, where key is the component ID.
- Throws:
com.atlassian.jira.issue.search.SearchException
Copyright © 2007-2012 Atlassian. All Rights Reserved.