public class


extends Ordering<T>
     ↳ com.atlassian.jira.plugin.util.orderings.ByOriginModuleDescriptorOrdering

Class Overview

Orders module descriptors according to the "origin" of the plugin they come from. The origin of a plugin can be one of "user installed" or "system" as determined by the plugin metadata manager.

Module descriptors coming from user plugins are considered to be "greater than" the ones coming from system plugins.


Public Methods
int compare(ModuleDescriptor o1, ModuleDescriptor o2)
Inherited Methods
From class
From class java.lang.Object
From interface java.util.Comparator

Public Methods

public int compare (ModuleDescriptor o1, ModuleDescriptor o2)