|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.common.collect.Ordering<com.atlassian.plugin.ModuleDescriptor>
com.atlassian.jira.plugin.util.orderings.ByOriginModuleDescriptorOrdering
public class ByOriginModuleDescriptorOrdering
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.
PluginMetadataManager| Method Summary | |
|---|---|
int |
compare(com.atlassian.plugin.ModuleDescriptor o1,
com.atlassian.plugin.ModuleDescriptor o2)
|
| Methods inherited from class com.google.common.collect.Ordering |
|---|
arbitrary, binarySearch, compound, compound, explicit, explicit, from, from, greatestOf, immutableSortedCopy, isOrdered, isStrictlyOrdered, leastOf, lexicographical, max, max, max, max, min, min, min, min, natural, nullsFirst, nullsLast, onResultOf, reverse, sortedCopy, usingToString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Method Detail |
|---|
public int compare(com.atlassian.plugin.ModuleDescriptor o1,
com.atlassian.plugin.ModuleDescriptor o2)
compare in interface Comparator<com.atlassian.plugin.ModuleDescriptor>compare in class com.google.common.collect.Ordering<com.atlassian.plugin.ModuleDescriptor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||