public class OwningPluginAndModuleNamesComparator extends Object implements Comparator<ContentPropertyIndexSchemaModuleDescriptor>
ContentPropertyIndexSchemaModuleDescriptor
based on their owning plugin names and module
names. Plugin names starting with BUNDLED_PLUGINS_PACKAGE_PREFIX
prefix
will be privileged over other names, because otherwise index schema defined in bundled plugins might be discarded in
case of schema collision.ContentPropertyIndexSchemaManagerImpl
Constructor and Description |
---|
OwningPluginAndModuleNamesComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ContentPropertyIndexSchemaModuleDescriptor left,
ContentPropertyIndexSchemaModuleDescriptor right) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public OwningPluginAndModuleNamesComparator()
public int compare(ContentPropertyIndexSchemaModuleDescriptor left, ContentPropertyIndexSchemaModuleDescriptor right)
compare
in interface Comparator<ContentPropertyIndexSchemaModuleDescriptor>
Copyright © 2003–2018 Atlassian. All rights reserved.