public interface SortableCustomField<T>
CustomFieldSearcher
,
whose SortableCustomFieldSearcher.getSorter(com.atlassian.jira.issue.fields.CustomField)
method is responsible for sorting. This interface's compare() is
only called if no searcher is associated with a custom field. It is an order of magnitude
slower than SortableCustomFieldSearcher
.SortableCustomFieldSearcher
Modifier and Type | Method and Description |
---|---|
int |
compare(T customFieldObjectValue1,
T customFieldObjectValue2,
FieldConfig fieldConfig)
Compares the two custom field objects.
|
int compare(@Nonnull T customFieldObjectValue1, @Nonnull T customFieldObjectValue2, FieldConfig fieldConfig)
customFieldObjectValue1
- Never nullcustomFieldObjectValue2
- Never nullfieldConfig
- Copyright © 2002-2019 Atlassian. All Rights Reserved.