org.drools.rule
Class OrCompositeRestriction
java.lang.Object
org.drools.rule.AbstractCompositeRestriction
org.drools.rule.OrCompositeRestriction
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Restriction
public class OrCompositeRestriction
- extends AbstractCompositeRestriction
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
OrCompositeRestriction
public OrCompositeRestriction(Restriction[] restriction)
isAllowed
public boolean isAllowed(Extractor extractor,
java.lang.Object object,
InternalWorkingMemory workingMemory,
ContextEntry context)
isAllowedCachedLeft
public boolean isAllowedCachedLeft(ContextEntry context,
java.lang.Object object)
isAllowedCachedRight
public boolean isAllowedCachedRight(ReteTuple tuple,
ContextEntry context)
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Restriction
- Specified by:
clone
in class AbstractCompositeRestriction