com.xebialabs.deployit.deployment.rules
Class JavaBasedRuleBuilder.HierarchyClassMethodNameComparator

java.lang.Object
  extended by com.xebialabs.deployit.deployment.rules.JavaBasedRuleBuilder.HierarchyClassMethodNameComparator
All Implemented Interfaces:
java.util.Comparator<java.lang.reflect.Method>
Enclosing class:
JavaBasedRuleBuilder

public static class JavaBasedRuleBuilder.HierarchyClassMethodNameComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.reflect.Method>

- First compare on the Class hierarchy, subclasses before superclasses - Then on the class name - Then on the method name


Constructor Summary
JavaBasedRuleBuilder.HierarchyClassMethodNameComparator()
           
 
Method Summary
 int compare(java.lang.reflect.Method method, java.lang.reflect.Method method1)
           
 
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
 

Constructor Detail

JavaBasedRuleBuilder.HierarchyClassMethodNameComparator

public JavaBasedRuleBuilder.HierarchyClassMethodNameComparator()
Method Detail

compare

public int compare(java.lang.reflect.Method method,
                   java.lang.reflect.Method method1)
Specified by:
compare in interface java.util.Comparator<java.lang.reflect.Method>