com.atlassian.jira.issue.statistics
Class PriorityStatisticsMapper

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

public class PriorityStatisticsMapper
extends AbstractConstantStatisticsMapper


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
constantsManager
 
Constructor Summary
PriorityStatisticsMapper(ConstantsManager constantsManager)
           
 
Method Summary
protected  String getConstantType()
           
protected  SearchParameter getConstantTypeParameter(Object value)
           
 String getDocumentConstant()
          Get the constant that this field is indexed with.
 boolean isFieldAlwaysPartOfAnIssue()
          Check if the field is always part of an issues data.
 
Methods inherited from class com.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
getComparator, getSearchUrlSuffix, getValueFromLuceneField, isValidValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriorityStatisticsMapper

public PriorityStatisticsMapper(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

isFieldAlwaysPartOfAnIssue

public boolean isFieldAlwaysPartOfAnIssue()
Description copied from interface: StatisticsMapper
Check if the field is always part of an issues data. This should only return false in the case of a custom field where the value does not have to be set for each issue.

Specified by:
isFieldAlwaysPartOfAnIssue in interface StatisticsMapper
Overrides:
isFieldAlwaysPartOfAnIssue in class AbstractConstantStatisticsMapper


Copyright © 2002-2006 Atlassian. All Rights Reserved.