public class CursoredDataSource<T> extends Object implements InternalDataSource<T>
Modifier and Type | Class and Description |
---|---|
static class |
CursoredDataSource.DataSourceFactHandle |
Constructor and Description |
---|
CursoredDataSource() |
CursoredDataSource(InternalWorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
void |
bind(org.kie.api.runtime.rule.RuleUnit unit,
WorkingMemoryEntryPoint ep) |
void |
delete(org.kie.api.runtime.rule.FactHandle fh) |
org.kie.api.runtime.rule.FactHandle |
insert(T object) |
Iterator<T> |
iterator() |
void |
setWorkingMemory(InternalWorkingMemory workingMemory) |
void |
unbind(org.kie.api.runtime.rule.RuleUnit unit) |
void |
update(org.kie.api.runtime.rule.FactHandle fh,
Object obj,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
update(org.kie.api.runtime.rule.FactHandle handle,
T object,
String... modifiedProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public CursoredDataSource()
public CursoredDataSource(InternalWorkingMemory workingMemory)
public void setWorkingMemory(InternalWorkingMemory workingMemory)
setWorkingMemory
in interface InternalDataSource<T>
public org.kie.api.runtime.rule.FactHandle insert(T object)
insert
in interface org.kie.api.runtime.rule.DataSource<T>
public void update(org.kie.api.runtime.rule.FactHandle handle, T object, String... modifiedProperties)
update
in interface org.kie.api.runtime.rule.DataSource<T>
public void update(org.kie.api.runtime.rule.FactHandle fh, Object obj, BitMask mask, Class<?> modifiedClass, Activation activation)
update
in interface InternalDataSource<T>
public void delete(org.kie.api.runtime.rule.FactHandle fh)
delete
in interface org.kie.api.runtime.rule.DataSource<T>
public void bind(org.kie.api.runtime.rule.RuleUnit unit, WorkingMemoryEntryPoint ep)
bind
in interface BindableDataProvider
public void unbind(org.kie.api.runtime.rule.RuleUnit unit)
unbind
in interface BindableDataProvider
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.