public class CombinedConstraint extends AbstractConstraint
Constructor and Description |
---|
CombinedConstraint(org.drools.model.Constraint.Type type,
List<AbstractConstraint> constraints) |
Modifier and Type | Method and Description |
---|---|
AbstractConstraint |
clone() |
org.drools.core.rule.ContextEntry |
createContextEntry() |
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.rule.Declaration[] |
getRequiredDeclarations() |
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) |
cloneIfInUse, getType, readExternal, setInUse, setType, writeExternal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readExternal, writeExternal
public CombinedConstraint(org.drools.model.Constraint.Type type, List<AbstractConstraint> constraints)
public boolean isUnification()
public boolean isIndexable(short nodeType)
public org.drools.core.util.index.IndexUtil.ConstraintType getConstraintType()
public org.drools.core.spi.FieldValue getField()
public org.drools.core.util.AbstractHashTable.FieldIndex getFieldIndex()
public org.drools.core.spi.InternalReadAccessor getFieldExtractor()
public org.drools.core.time.Interval getInterval()
public org.drools.core.rule.Declaration[] getRequiredDeclarations()
public void replaceDeclaration(org.drools.core.rule.Declaration oldDecl, org.drools.core.rule.Declaration newDecl)
public AbstractConstraint clone()
clone
in interface org.drools.core.spi.Constraint
clone
in class AbstractConstraint
public boolean isTemporal()
public boolean isAllowed(org.drools.core.common.InternalFactHandle handle, org.drools.core.common.InternalWorkingMemory workingMemory)
public boolean isAllowedCachedLeft(org.drools.core.rule.ContextEntry context, org.drools.core.common.InternalFactHandle handle)
public boolean isAllowedCachedRight(org.drools.core.spi.Tuple tuple, org.drools.core.rule.ContextEntry context)
public org.drools.core.rule.ContextEntry createContextEntry()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.