com.atlassian.jira.issue.statistics
Class IssueTypeStatisticsMapper

java.lang.Object
  extended by com.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
      extended by com.atlassian.jira.issue.statistics.IssueTypeStatisticsMapper
All Implemented Interfaces:
LuceneFieldSorter<org.ofbiz.core.entity.GenericValue>, StatisticsMapper<org.ofbiz.core.entity.GenericValue>

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
 java.util.Comparator getComparator()
          A comparator that can be used to order objects returned by LuceneFieldSorter.getValueFromLuceneField(String).
protected  java.lang.String getConstantType()
           
 java.lang.String getDocumentConstant()
          Get the constant that this field is indexed with.
protected  java.lang.String getIssueFieldConstant()
           
 
Methods inherited from class com.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
equals, getSearchUrlSuffix, getValueFromLuceneField, hashCode, isFieldAlwaysPartOfAnIssue, isValidValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueTypeStatisticsMapper

public IssueTypeStatisticsMapper(ConstantsManager constantsManager)
Method Detail

getConstantType

protected java.lang.String getConstantType()
Specified by:
getConstantType in class AbstractConstantStatisticsMapper

getIssueFieldConstant

protected java.lang.String getIssueFieldConstant()
Specified by:
getIssueFieldConstant in class AbstractConstantStatisticsMapper

getDocumentConstant

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

Specified by:
getDocumentConstant in interface LuceneFieldSorter<org.ofbiz.core.entity.GenericValue>
Specified by:
getDocumentConstant in class AbstractConstantStatisticsMapper
See Also:
IssueDocument, CustomFieldSearcher

getComparator

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

The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.

Specified by:
getComparator in interface LuceneFieldSorter<org.ofbiz.core.entity.GenericValue>
Overrides:
getComparator in class AbstractConstantStatisticsMapper


Copyright © 2002-2010 Atlassian. All Rights Reserved.