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

LeapsRuleHandle - JBoss RULES 3.0.6 API 英文版文档


org.drools.leaps
Class LeapsRuleHandle

java.lang.Object
  extended by org.drools.common.DefaultFactHandle
      extended by org.drools.leaps.LeapsRuleHandle
All Implemented Interfaces:
java.io.Serializable, InternalFactHandle, FactHandle

public class LeapsRuleHandle
extends DefaultFactHandle

class container for rules. Re-using defaultfact handle class container for rules used in the system. Handle is created for each leaps rule, dominant position (column/ce position), dominant position type (class at the column/ce position) or indicator if handle is for asserted or retracted tuple combination

See Also:
Serialized Form

Constructor Summary
LeapsRuleHandle(long id, org.drools.leaps.LeapsRule rule, int dominantPosition)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 int getDominantPosition()
           
 org.drools.leaps.LeapsRule getLeapsRule()
           
 int getRuleComplexity()
           
 int getSalience()
           
 java.lang.String toString()
           
 
Methods inherited from class org.drools.common.DefaultFactHandle
getEqualityKey, getId, getObject, getObjectHashCode, getRecency, hashCode, invalidate, setEqualityKey, setObject, setRecency, toExternalForm
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LeapsRuleHandle

public LeapsRuleHandle(long id,
                       org.drools.leaps.LeapsRule rule,
                       int dominantPosition)
Method Detail

getLeapsRule

public org.drools.leaps.LeapsRule getLeapsRule()
Returns:
leaps wrapped rule

getDominantPosition

public int getDominantPosition()
Returns:
base column / ce position

getRuleComplexity

public int getRuleComplexity()
See Also:
Rule

getSalience

public int getSalience()
See Also:
Rule

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class DefaultFactHandle
See Also:
Object

toString

public java.lang.String toString()
Overrides:
toString in class DefaultFactHandle
See Also:
Object