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

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


org.drools.spi
Interface ConflictResolver

All Superinterfaces:
Comparator, Serializable
All Known Implementing Classes:
AbstractConflictResolver, ComplexityConflictResolver, CompositeConflictResolver, DefaultConflictResolver, DepthConflictResolver, FifoConflictResolver, LifoConflictResolver, LoadOrderConflictResolver, RandomConflictResolver, RecencyConflictResolver, SalienceConflictResolver, SimplicityConflictResolver, TotalRecencyConflictResolver

public interface ConflictResolver
extends Serializable, Comparator

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.

Version:
$Id: ConflictResolver.java,v 1.1 2005/07/26 01:06:32 mproctor Exp $
Author:
bob mcwhirter , Simon Harris
See Also:
Activation, Tuple, Rule

Method Summary
 int compare(Activation lhs, Activation rhs)
           
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

compare

int compare(Activation lhs,
            Activation rhs)


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