public class LambdaConstraint
extends org.drools.core.rule.MutableTypeConstraint
implements org.drools.core.rule.IndexableConstraint, org.drools.core.rule.IntervalProviderConstraint
| Modifier and Type | Class and Description |
|---|---|
static class |
LambdaConstraint.LambdaContextEntry |
| Constructor and Description |
|---|
LambdaConstraint(ConstraintEvaluator evaluator) |
| Modifier and Type | Method and Description |
|---|---|
LambdaConstraint |
clone() |
org.drools.core.rule.ContextEntry |
createContextEntry() |
boolean |
equals(Object other) |
org.drools.core.util.index.IndexUtil.ConstraintType |
getConstraintType() |
org.drools.core.spi.FieldValue |
getField() |
org.drools.core.spi.InternalReadAccessor |
getFieldExtractor() |
org.drools.core.util.AbstractHashTable.FieldIndex |
getFieldIndex() |
org.drools.core.time.Interval |
getInterval() |
org.drools.core.util.bitmask.BitMask |
getListenedPropertyMask(Class modifiedClass,
List<String> settableProperties) |
org.drools.core.rule.Declaration[] |
getRequiredDeclarations() |
int |
hashCode() |
boolean |
isAllowed(org.drools.core.common.InternalFactHandle handle,
org.drools.core.common.InternalWorkingMemory workingMemory) |
boolean |
isAllowedCachedLeft(org.drools.core.rule.ContextEntry context,
org.drools.core.common.InternalFactHandle handle) |
boolean |
isAllowedCachedRight(org.drools.core.spi.Tuple tuple,
org.drools.core.rule.ContextEntry context) |
boolean |
isIndexable(short nodeType) |
boolean |
isTemporal() |
boolean |
isUnification() |
void |
replaceDeclaration(org.drools.core.rule.Declaration oldDecl,
org.drools.core.rule.Declaration newDecl) |
String |
toString() |
cloneIfInUse, getType, readExternal, setInUse, setType, writeExternalfinalize, getClass, notify, notifyAll, wait, wait, waitreadExternal, writeExternalpublic LambdaConstraint(ConstraintEvaluator evaluator)
public org.drools.core.rule.Declaration[] getRequiredDeclarations()
getRequiredDeclarations in interface org.drools.core.spi.Constraintpublic void replaceDeclaration(org.drools.core.rule.Declaration oldDecl,
org.drools.core.rule.Declaration newDecl)
replaceDeclaration in interface org.drools.core.spi.Constraintpublic org.drools.core.util.bitmask.BitMask getListenedPropertyMask(Class modifiedClass, List<String> settableProperties)
getListenedPropertyMask in interface org.drools.core.spi.Constraintpublic LambdaConstraint clone()
clone in interface org.drools.core.spi.Constraintclone in class org.drools.core.rule.MutableTypeConstraintpublic boolean isTemporal()
isTemporal in interface org.drools.core.spi.Constraintpublic org.drools.core.time.Interval getInterval()
getInterval in interface org.drools.core.rule.IntervalProviderConstraintpublic boolean isAllowed(org.drools.core.common.InternalFactHandle handle,
org.drools.core.common.InternalWorkingMemory workingMemory)
isAllowed in interface org.drools.core.spi.AlphaNodeFieldConstraintpublic boolean isAllowedCachedLeft(org.drools.core.rule.ContextEntry context,
org.drools.core.common.InternalFactHandle handle)
isAllowedCachedLeft in interface org.drools.core.spi.BetaNodeFieldConstraintpublic boolean isAllowedCachedRight(org.drools.core.spi.Tuple tuple,
org.drools.core.rule.ContextEntry context)
isAllowedCachedRight in interface org.drools.core.spi.BetaNodeFieldConstraintpublic org.drools.core.rule.ContextEntry createContextEntry()
createContextEntry in interface org.drools.core.spi.BetaNodeFieldConstraintpublic boolean isUnification()
isUnification in interface org.drools.core.rule.IndexableConstraintpublic boolean isIndexable(short nodeType)
isIndexable in interface org.drools.core.rule.IndexableConstraintpublic org.drools.core.util.index.IndexUtil.ConstraintType getConstraintType()
getConstraintType in interface org.drools.core.rule.IndexableConstraintpublic org.drools.core.spi.FieldValue getField()
getField in interface org.drools.core.rule.IndexableConstraintpublic org.drools.core.util.AbstractHashTable.FieldIndex getFieldIndex()
getFieldIndex in interface org.drools.core.rule.IndexableConstraintpublic org.drools.core.spi.InternalReadAccessor getFieldExtractor()
getFieldExtractor in interface org.drools.core.rule.IndexableConstraintCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.