public class EmptyBetaConstraints extends Object implements BetaConstraints
| Constructor and Description |
|---|
EmptyBetaConstraints() |
public static BetaConstraints getInstance()
public EmptyBetaConstraints cloneIfInUse()
cloneIfInUse in interface BetaConstraintspublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void updateFromTuple(ContextEntry[] context, InternalWorkingMemory workingMemory, Tuple tuple)
updateFromTuple in interface BetaConstraintspublic void updateFromFactHandle(ContextEntry[] context, InternalWorkingMemory workingMemory, InternalFactHandle handle)
updateFromFactHandle in interface BetaConstraintspublic void resetTuple(ContextEntry[] context)
resetTuple in interface BetaConstraintspublic void resetFactHandle(ContextEntry[] context)
resetFactHandle in interface BetaConstraintspublic boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
isAllowedCachedLeft in interface BetaConstraintspublic boolean isAllowedCachedRight(ContextEntry[] context, Tuple tuple)
isAllowedCachedRight in interface BetaConstraintspublic boolean isIndexed()
isIndexed in interface BetaConstraintspublic int getIndexCount()
getIndexCount in interface BetaConstraintspublic boolean isEmpty()
isEmpty in interface BetaConstraintspublic BetaMemory createBetaMemory(RuleBaseConfiguration config, short nodeType)
createBetaMemory in interface BetaConstraintspublic BetaNodeFieldConstraint[] getConstraints()
getConstraints in interface BetaConstraintspublic boolean equals(Object object)
public ContextEntry[] createContext()
createContext in interface BetaConstraintspublic BetaConstraints getOriginalConstraint()
getOriginalConstraint in interface BetaConstraintspublic BitMask getListenedPropertyMask(Class modifiedClass, List<String> settableProperties)
getListenedPropertyMask in interface BetaConstraintspublic void init(BuildContext context, short betaNodeType)
init in interface BetaConstraintspublic void initIndexes(int depth,
short betaNodeType,
RuleBaseConfiguration config)
initIndexes in interface BetaConstraintspublic boolean isLeftUpdateOptimizationAllowed()
isLeftUpdateOptimizationAllowed in interface BetaConstraintspublic void registerEvaluationContext(BuildContext buildContext)
registerEvaluationContext in interface BetaConstraintsCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.