Package org.drools.ruleunits.impl
Class FieldDataStore<T>
- java.lang.Object
-
- org.drools.ruleunits.impl.FieldDataStore<T>
-
- All Implemented Interfaces:
Iterable<T>,org.drools.ruleunits.api.DataSource<T>,org.drools.ruleunits.api.SingletonStore<T>,InternalStoreCallback
public class FieldDataStore<T> extends Object implements org.drools.ruleunits.api.SingletonStore<T>, InternalStoreCallback
-
-
Constructor Summary
Constructors Constructor Description FieldDataStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()protected org.drools.ruleunits.api.DataHandlecreateDataHandle(T t)voiddelete(RuleUnitInternalFactHandle fh, org.drools.core.definitions.rule.impl.RuleImpl rule, org.drools.core.reteoo.TerminalNode terminalNode, org.kie.api.runtime.rule.FactHandle.State fhState)org.drools.ruleunits.api.DataHandleset(T t)voidsubscribe(org.drools.ruleunits.api.DataProcessor processor)voidupdate()voidupdate(RuleUnitInternalFactHandle fh, Object obj, org.drools.core.util.bitmask.BitMask mask, Class<?> modifiedClass, org.drools.core.rule.consequence.Activation activation)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
set
public org.drools.ruleunits.api.DataHandle set(T t)
- Specified by:
setin interfaceorg.drools.ruleunits.api.SingletonStore<T>
-
createDataHandle
protected org.drools.ruleunits.api.DataHandle createDataHandle(T t)
-
update
public void update()
- Specified by:
updatein interfaceorg.drools.ruleunits.api.SingletonStore<T>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.drools.ruleunits.api.SingletonStore<T>
-
subscribe
public void subscribe(org.drools.ruleunits.api.DataProcessor processor)
- Specified by:
subscribein interfaceorg.drools.ruleunits.api.DataSource<T>
-
update
public void update(RuleUnitInternalFactHandle fh, Object obj, org.drools.core.util.bitmask.BitMask mask, Class<?> modifiedClass, org.drools.core.rule.consequence.Activation activation)
- Specified by:
updatein interfaceInternalStoreCallback
-
delete
public void delete(RuleUnitInternalFactHandle fh, org.drools.core.definitions.rule.impl.RuleImpl rule, org.drools.core.reteoo.TerminalNode terminalNode, org.kie.api.runtime.rule.FactHandle.State fhState)
- Specified by:
deletein interfaceInternalStoreCallback
-
-