org.drools.conflict
Class DepthConflictResolver

java.lang.Object
  extended by org.drools.conflict.DepthConflictResolver
All Implemented Interfaces:
Externalizable, Serializable, Comparator, ConflictResolver

public class DepthConflictResolver
extends Object
implements ConflictResolver, Externalizable

See Also:
Serialized Form

Field Summary
static DepthConflictResolver INSTANCE
           
 
Constructor Summary
DepthConflictResolver()
           
 
Method Summary
 int compare(Activation existing, Activation adding)
           
 int compare(Object existing, Object adding)
           
static ConflictResolver getInstance()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
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
 

Field Detail

INSTANCE

public static final DepthConflictResolver INSTANCE
Constructor Detail

DepthConflictResolver

public DepthConflictResolver()
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getInstance

public static ConflictResolver getInstance()

compare

public final int compare(Object existing,
                         Object adding)
Specified by:
compare in interface Comparator
See Also:
ConflictResolver

compare

public final int compare(Activation existing,
                         Activation adding)
Specified by:
compare in interface ConflictResolver


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.