public class LocalDateFieldSorter extends Object implements LuceneFieldSorter<LocalDate>
| Constructor and Description |
|---|
LocalDateFieldSorter(String documentConstant) |
| Modifier and Type | Method and Description |
|---|---|
Comparator<LocalDate> |
getComparator()
A comparator that can be used to order objects returned by
LuceneFieldSorter.getValueFromLuceneField(String). |
String |
getDocumentConstant()
Get the constant that this field is indexed with.
|
LocalDate |
getValueFromLuceneField(String documentValue)
Convert the lucene document field back to the object that you wish to use to display it.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodepublic LocalDateFieldSorter(String documentConstant)
public String getDocumentConstant()
LuceneFieldSortergetDocumentConstant in interface LuceneFieldSorter<LocalDate>CustomFieldSearcherpublic LocalDate 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 LuceneFieldSorter<LocalDate>documentValue - The value of the field in the lucene indexpublic Comparator<LocalDate> getComparator()
LuceneFieldSorterLuceneFieldSorter.getValueFromLuceneField(String).
The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
getComparator in interface LuceneFieldSorter<LocalDate>Copyright © 2002-2024 Atlassian. All Rights Reserved.