Package com.jalios.jcms.plugin
Class Plugin.PluginComparator
- java.lang.Object
-
- com.jalios.jcms.plugin.Plugin.PluginComparator
-
- All Implemented Interfaces:
java.util.Comparator<Plugin>
- Enclosing class:
- Plugin
@Deprecated public static class Plugin.PluginComparator extends java.lang.Object implements java.util.Comparator<Plugin>
Deprecated.this comparator does not properly sort complex plugins dependencies. UsePluginManager.orderPlugins(Collection, boolean)
for proper topological sorting of all plugins.Comparator class used to compare Plugins:- Check dependencies of each other
- Check dependencies size
- Check plugin order
- Check plugin name
-
-
Constructor Summary
Constructors Constructor Description PluginComparator()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compare(Plugin p1, Plugin p2)
Deprecated.
-