站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

CompositeConflictResolver (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.conflict
Class CompositeConflictResolver

java.lang.Object
  extended by org.drools.conflict.AbstractConflictResolver
      extended by org.drools.conflict.CompositeConflictResolver
All Implemented Interfaces:
Serializable, Comparator, ConflictResolver
Direct Known Subclasses:
DefaultConflictResolver

public class CompositeConflictResolver
extends AbstractConflictResolver

Strategy for resolving conflicts amongst multiple rules.

Since a fact or set of facts may activate multiple rules, a ConflictResolutionStrategy is used to provide priority ordering of conflicting rules.

Author:
Simon Harris
See Also:
Activation, Tuple, Rule, Serialized Form

Constructor Summary
CompositeConflictResolver(ConflictResolver[] components)
           
 
Method Summary
 int compare(Activation lhs, Activation rhs)
           
 
Methods inherited from class org.drools.conflict.AbstractConflictResolver
compare
 
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

CompositeConflictResolver

public CompositeConflictResolver(ConflictResolver[] components)
Method Detail

compare

public final int compare(Activation lhs,
                         Activation rhs)
See Also:
AbstractConflictResolver


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