public class

ReportModuleDescriptorComparators

extends Object
java.lang.Object
   ↳ com.atlassian.jira.plugin.report.ReportModuleDescriptorComparators

Class Overview

Comparators for ReportModuleDescriptor.

Summary

Public Methods
static Comparator<ReportModuleDescriptor> byName()
Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the default locale.
static Comparator<ReportModuleDescriptor> byName(Locale locale)
Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the given locale.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Comparator<ReportModuleDescriptor> byName ()

Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the default locale.

Returns
  • a Comparator

public static Comparator<ReportModuleDescriptor> byName (Locale locale)

Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the given locale.

Parameters
locale a Locale to use for sorting, or null to use the default Locale
Returns
  • a Comparator