当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
LeapsRuleHandle - JBoss RULES 3.0.6 API 英文版文档
org.drools.leaps
Class LeapsRuleHandle
java.lang.Object
org.drools.common.DefaultFactHandle
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)
|
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 |
LeapsRuleHandle
public LeapsRuleHandle(long id,
org.drools.leaps.LeapsRule rule,
int dominantPosition)
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