org.drools.core.reteoo
Class PropertySpecificUtil
java.lang.Object
org.drools.core.reteoo.PropertySpecificUtil
public class PropertySpecificUtil
- extends Object
|
Method Summary |
static BitMask |
allSetButTraitBitMask()
|
static BitMask |
calculateNegativeMask(List<String> listenedProperties,
List<String> settableProperties)
|
static BitMask |
calculatePositiveMask(List<String> listenedProperties,
List<String> settableProperties)
|
static BitMask |
getEmptyPropertyReactiveMask(int settablePropertiesSize)
|
static Class<?> |
getNodeClass(ObjectTypeNode objectTypeNode)
|
static List<String> |
getSettableProperties(InternalKnowledgeBase kBase,
Class<?> nodeClass)
|
static List<String> |
getSettableProperties(InternalKnowledgeBase kBase,
ObjectTypeNode objectTypeNode)
|
static List<String> |
getSettableProperties(InternalWorkingMemory workingMemory,
ObjectTypeNode objectTypeNode)
|
static boolean |
isAllSetPropertyReactiveMask(BitMask mask)
|
static boolean |
isPropertyReactive(BuildContext context,
Class<?> objectClass)
|
static boolean |
isPropertyReactive(BuildContext context,
ObjectType objectType)
|
static boolean |
isPropertySetOnMask(BitMask mask,
int index)
|
static BitMask |
onlyTraitBitSetMask()
|
static BitMask |
setPropertyOnMask(BitMask mask,
int index)
|
static BitMask |
setPropertyOnMask(BitMask mask,
List<String> settableProperties,
String propertyName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRAITABLE_BIT
public static final int TRAITABLE_BIT
- See Also:
- Constant Field Values
CUSTOM_BITS_OFFSET
public static final int CUSTOM_BITS_OFFSET
- See Also:
- Constant Field Values
PropertySpecificUtil
public PropertySpecificUtil()
isPropertyReactive
public static boolean isPropertyReactive(BuildContext context,
ObjectType objectType)
isPropertyReactive
public static boolean isPropertyReactive(BuildContext context,
Class<?> objectClass)
getEmptyPropertyReactiveMask
public static BitMask getEmptyPropertyReactiveMask(int settablePropertiesSize)
onlyTraitBitSetMask
public static BitMask onlyTraitBitSetMask()
allSetButTraitBitMask
public static BitMask allSetButTraitBitMask()
isAllSetPropertyReactiveMask
public static boolean isAllSetPropertyReactiveMask(BitMask mask)
calculatePositiveMask
public static BitMask calculatePositiveMask(List<String> listenedProperties,
List<String> settableProperties)
calculateNegativeMask
public static BitMask calculateNegativeMask(List<String> listenedProperties,
List<String> settableProperties)
setPropertyOnMask
public static BitMask setPropertyOnMask(BitMask mask,
List<String> settableProperties,
String propertyName)
setPropertyOnMask
public static BitMask setPropertyOnMask(BitMask mask,
int index)
isPropertySetOnMask
public static boolean isPropertySetOnMask(BitMask mask,
int index)
getSettableProperties
public static List<String> getSettableProperties(InternalWorkingMemory workingMemory,
ObjectTypeNode objectTypeNode)
getSettableProperties
public static List<String> getSettableProperties(InternalKnowledgeBase kBase,
ObjectTypeNode objectTypeNode)
getSettableProperties
public static List<String> getSettableProperties(InternalKnowledgeBase kBase,
Class<?> nodeClass)
getNodeClass
public static Class<?> getNodeClass(ObjectTypeNode objectTypeNode)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.