com.atlassian.confluence.plugins.contentproperty.index.config
Class OwningPluginAndModuleNamesComparator
java.lang.Object
com.atlassian.confluence.plugins.contentproperty.index.config.OwningPluginAndModuleNamesComparator
- All Implemented Interfaces:
- Comparator<ContentPropertyIndexSchemaModuleDescriptor>
public class OwningPluginAndModuleNamesComparator
- extends Object
- implements Comparator<ContentPropertyIndexSchemaModuleDescriptor>
Allows comparison of 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.
- Since:
- 5.7
- See Also:
ContentPropertyIndexSchemaManagerImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwningPluginAndModuleNamesComparator
public OwningPluginAndModuleNamesComparator()
compare
public int compare(ContentPropertyIndexSchemaModuleDescriptor left,
ContentPropertyIndexSchemaModuleDescriptor right)
- Specified by:
compare in interface Comparator<ContentPropertyIndexSchemaModuleDescriptor>
Copyright © 2003–2015 Atlassian. All rights reserved.