public class ProjectSelectStatisticsMapper extends AbstractCustomFieldStatisticsMapper implements SearchRequestAppender.Factory
customField| Constructor and Description |
|---|
ProjectSelectStatisticsMapper(CustomField customField,
ProjectManager projectManager) |
| Modifier and Type | Method and Description |
|---|---|
Comparator |
getComparator()
A comparator that can be used to order objects returned by
LuceneFieldSorter.getValueFromLuceneField(String). |
SearchRequestAppender |
getSearchRequestAppender() |
protected String |
getSearchValue(Object value)
String value to be passed to the search request to construct a new request URL
|
Project |
getValueFromLuceneField(String documentValue)
Convert the lucene document field back to the object that you wish to use to display it.
|
equals, getDocumentConstant, getSearchContextFromValue, getSearchUrlSuffix, hashCode, isFieldAlwaysPartOfAnIssue, isValidValuepublic ProjectSelectStatisticsMapper(CustomField customField, ProjectManager projectManager)
protected String getSearchValue(Object value)
AbstractCustomFieldStatisticsMappergetSearchValue in class AbstractCustomFieldStatisticsMappervalue - returned from LuceneFieldSorter.getValueFromLuceneField(java.lang.String)public Project getValueFromLuceneField(String documentValue)
LuceneFieldSortereg. '1000' -> Version 1.
For custom fields, the return value will be passed to
CustomFieldSearcherModuleDescriptor.getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)
getValueFromLuceneField in interface LuceneFieldSorterdocumentValue - The value of the field in the lucene indexpublic Comparator getComparator()
LuceneFieldSorterLuceneFieldSorter.getValueFromLuceneField(String).
The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
getComparator in interface LuceneFieldSortergetComparator in class AbstractCustomFieldStatisticsMapperpublic SearchRequestAppender getSearchRequestAppender()
getSearchRequestAppender in interface SearchRequestAppender.FactoryCopyright © 2002-2024 Atlassian. All Rights Reserved.