Class CascadingOptionFieldSorter
java.lang.Object
com.atlassian.jira.issue.customfields.statistics.CascadingOptionFieldSorter
- All Implemented Interfaces:
FieldValueLoader<CascadingOption>
- Direct Known Subclasses:
CascadingSelectStatisticsMapper
@Internal
public class CascadingOptionFieldSorter
extends Object
implements FieldValueLoader<CascadingOption>
invalid reference
com.atlassian.jira.search.FieldValueLoader<T>
CascadingOption.- Since:
- v6.4
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCascadingOptionFieldSorter(CustomField customField, SelectConverter selectConverter) -
Method Summary
Modifier and TypeMethodDescriptionfield()Get the field name that this field is indexed with.A comparator by which the resulting values should be ordered when multiple values are present.Convert the document field back to the object that you wish to use to display it.
-
Field Details
-
customField
-
selectConverter
-
-
Constructor Details
-
CascadingOptionFieldSorter
-
-
Method Details
-
field
Description copied from interface:FieldValueLoaderGet the field name that this field is indexed with.- Specified by:
fieldin interfaceFieldValueLoader<CascadingOption>
-
loadValue
Description copied from interface:FieldValueLoaderConvert the document field back to the object that you wish to use to display it.e.g. '1000' -> Version 1.
For custom fields, the return value will be passed to
CustomFieldSearcherModuleDescriptor.getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)- Specified by:
loadValuein interfaceFieldValueLoader<CascadingOption>- Parameters:
documentValue- The value of the field in the index or null if no values exist- Returns:
- The value that will be passed to the display
-
getComparator
Description copied from interface:FieldValueLoaderA comparator by which the resulting values should be ordered when multiple values are present.The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
- Specified by:
getComparatorin interfaceFieldValueLoader<CascadingOption>
-