org.drools.leaps.conflict
Class LoadOrderConflictResolver

java.lang.Object
  extended byorg.drools.leaps.conflict.LoadOrderConflictResolver
All Implemented Interfaces:
java.util.Comparator, java.io.Serializable

public class LoadOrderConflictResolver
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable

LoadOrderConflictResolver that uses the load order of rules to resolve conflict.

See Also:
AbstractConflictResolver, ConflictResolver, ConflictResolver, Serialized Form
 

Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
static java.util.Comparator getInstance()
          Retrieve the singleton instance.
 
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

getInstance

public static java.util.Comparator getInstance()
Retrieve the singleton instance.

Returns:
The singleton instance.

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator
See Also:
LeapsRuleConflictResolver