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