org.drools.simulation.fluent.session
Interface StatefulRuleSessionFluent<T>
- All Known Subinterfaces:
- FluentBatchExecution, StatefulKnowledgeSessionSimFluent
- All Known Implementing Classes:
- DefaultStatefulKnowledgeSessionSimFluent, FluentBatchExecutionImpl
public interface StatefulRuleSessionFluent<T>
setGlobal
T setGlobal(String identifier,
Object object)
insert
T insert(Object object)
update
T update(org.kie.api.runtime.rule.FactHandle handle,
Object object)
delete
T delete(org.kie.api.runtime.rule.FactHandle handle)
fireAllRules
T fireAllRules()
assertRuleFired
T assertRuleFired(String ruleName)
assertRuleFired
T assertRuleFired(String ruleName,
int fireCount)
- Only applies to the last
fireAllRules() in this step.
- Parameters:
ruleName - never nullfireCount - at least 0
- Returns:
- this
throws IllegalArgumentException if
fireAllRules() has not been called in this step yet.
set
T set(String name)
- The last executed command, if it returns a value, is set to a name in this executings context
- Parameters:
name -
- Returns:
- this
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.