Class ColumnStatisticsExtractorFactory.IssueCountExcludingSubTasksExtractor

java.lang.Object
com.atlassian.greenhopper.service.issue.statistics.ColumnStatisticsExtractorFactory.IssueCountExcludingSubTasksExtractor
All Implemented Interfaces:
StatisticExtractor
Enclosing class:
ColumnStatisticsExtractorFactory

public static class ColumnStatisticsExtractorFactory.IssueCountExcludingSubTasksExtractor extends Object implements StatisticExtractor
  • Constructor Details

    • IssueCountExcludingSubTasksExtractor

      public IssueCountExcludingSubTasksExtractor(Set<String> parentIssueTypeIds)
  • Method Details

    • getFieldsToLoad

      public Set<String> getFieldsToLoad()
      Description copied from interface: StatisticExtractor
      Returns the set of fields that need to be loaded from the index to extract the statistic value.
      Specified by:
      getFieldsToLoad in interface StatisticExtractor
      Returns:
      a set of field names
    • getStatisticsValue

      public double getStatisticsValue(com.atlassian.jira.search.Document document)
      Description copied from interface: StatisticExtractor
      Extracts the statistic value from the given document.
      Specified by:
      getStatisticsValue in interface StatisticExtractor
      Parameters:
      document - the document to extract the value from
      Returns:
      the extracted statistic value