com.atlassian.jira.issue.statistics
Class IssueTypeStatisticsMapper

java.lang.Object
  extended bycom.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
      extended bycom.atlassian.jira.issue.statistics.IssueTypeStatisticsMapper
All Implemented Interfaces:
LuceneFieldSorter, StatisticsMapper

public class IssueTypeStatisticsMapper
extends AbstractConstantStatisticsMapper


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
constantsManager
 
Constructor Summary
IssueTypeStatisticsMapper(ConstantsManager constantsManager)
           
 
Method Summary
 Comparator getComparator()
          A comparator that can be used to order objects returned by AbstractConstantStatisticsMapper.getValueFromLuceneField(String)
protected  String getConstantType()
           
protected  SearchParameter getConstantTypeParameter(Object value)
           
 String getDocumentConstant()
          Get the constant that this field is indexed with.
 
Methods inherited from class com.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
getSearchUrlSuffix, getValueFromLuceneField, isFieldAlwaysPartOfAnIssue, isValidValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueTypeStatisticsMapper

public IssueTypeStatisticsMapper(ConstantsManager constantsManager)
Method Detail

getConstantType

protected String getConstantType()
Specified by:
getConstantType in class AbstractConstantStatisticsMapper

getDocumentConstant

public String getDocumentConstant()
Description copied from interface: LuceneFieldSorter
Get the constant that this field is indexed with.

See Also:
IssueDocument, CustomFieldSearcher

getConstantTypeParameter

protected SearchParameter getConstantTypeParameter(Object value)
Specified by:
getConstantTypeParameter in class AbstractConstantStatisticsMapper

getComparator

public Comparator getComparator()
Description copied from interface: LuceneFieldSorter
A comparator that can be used to order objects returned by LuceneFieldSorter.getValueFromLuceneField(String)

Specified by:
getComparator in interface LuceneFieldSorter
Overrides:
getComparator in class AbstractConstantStatisticsMapper


Copyright © 2002-2006 Atlassian. All Rights Reserved.