org.drools.fluent.session.impl
Class DefaultStatefulKnowledgeSessionSimFluent
java.lang.Object
org.drools.fluent.test.impl.AbstractTestableFluent<StatefulKnowledgeSessionSimFluent>
org.drools.fluent.session.impl.DefaultStatefulKnowledgeSessionSimFluent
- All Implemented Interfaces:
- StatefulKnowledgeSessionSimFluent, StatefulProcessSessionFluent<StatefulKnowledgeSessionSimFluent>, StatefulRuleSessionFluent<StatefulKnowledgeSessionSimFluent>, TestableFluent<StatefulKnowledgeSessionSimFluent>
public class DefaultStatefulKnowledgeSessionSimFluent
- extends AbstractTestableFluent<StatefulKnowledgeSessionSimFluent>
- implements StatefulKnowledgeSessionSimFluent
|
Method Summary |
protected StatefulKnowledgeSessionSimFluent |
addCommand(org.drools.command.Command command)
|
StatefulKnowledgeSessionSimFluent |
createProcessInstance(String identifier,
Map<String,Object> params)
|
SimulationFluent |
end()
|
SimulationFluent |
end(String name)
|
SimulationFluent |
end(String context,
String name)
|
StatefulKnowledgeSessionSimFluent |
fireAllRules()
|
String |
getActiveKnowledgeSessionId()
|
StatefulKnowledgeSessionSimFluent |
insert(Object object)
|
StatefulKnowledgeSessionSimFluent |
newRelativeStep(long relativeDistance)
|
StatefulKnowledgeSessionSimFluent |
newRelativeStep(long relativeDistance,
TimeUnit timeUnit)
|
StatefulKnowledgeSessionSimFluent |
newStep(long distanceMillis)
|
StatefulKnowledgeSessionSimFluent |
newStep(long distanceMillis,
TimeUnit timeUnit)
|
StatefulKnowledgeSessionSimFluent |
retract(org.drools.runtime.rule.FactHandle handle)
|
StatefulKnowledgeSessionSimFluent |
set(String name)
The last executed command, if it returns a value, is set to a name in this executings context |
StatefulKnowledgeSessionSimFluent |
setGlobal(String identifier,
Object object)
|
StatefulKnowledgeSessionSimFluent |
signalEvent(String id,
Object event)
|
StatefulKnowledgeSessionSimFluent |
signalEvent(String id,
Object event,
long processId)
|
StatefulKnowledgeSessionSimFluent |
startProcess(String identifier)
|
StatefulKnowledgeSessionSimFluent |
startProcess(String identifier,
Map<String,Object> params)
|
StatefulKnowledgeSessionSimFluent |
startProcessInstance(long processId)
|
StatefulKnowledgeSessionSimFluent |
update(org.drools.runtime.rule.FactHandle handle,
Object object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStatefulKnowledgeSessionSimFluent
public DefaultStatefulKnowledgeSessionSimFluent(SimulationFluent simulationFluent)
addCommand
protected StatefulKnowledgeSessionSimFluent addCommand(org.drools.command.Command command)
- Specified by:
addCommand in class AbstractTestableFluent<StatefulKnowledgeSessionSimFluent>
setGlobal
public StatefulKnowledgeSessionSimFluent setGlobal(String identifier,
Object object)
- Specified by:
setGlobal in interface StatefulRuleSessionFluent<StatefulKnowledgeSessionSimFluent>
insert
public StatefulKnowledgeSessionSimFluent insert(Object object)
- Specified by:
insert in interface StatefulRuleSessionFluent<StatefulKnowledgeSessionSimFluent>
update
public StatefulKnowledgeSessionSimFluent update(org.drools.runtime.rule.FactHandle handle,
Object object)
- Specified by:
update in interface StatefulRuleSessionFluent<StatefulKnowledgeSessionSimFluent>
retract
public StatefulKnowledgeSessionSimFluent retract(org.drools.runtime.rule.FactHandle handle)
- Specified by:
retract in interface StatefulRuleSessionFluent<StatefulKnowledgeSessionSimFluent>
fireAllRules
public StatefulKnowledgeSessionSimFluent fireAllRules()
- Specified by:
fireAllRules in interface StatefulRuleSessionFluent<StatefulKnowledgeSessionSimFluent>
getActiveKnowledgeSessionId
public String getActiveKnowledgeSessionId()
end
public SimulationFluent end(String context,
String name)
- Specified by:
end in interface StatefulKnowledgeSessionSimFluent
end
public SimulationFluent end(String name)
- Specified by:
end in interface StatefulKnowledgeSessionSimFluent
end
public SimulationFluent end()
- Specified by:
end in interface StatefulKnowledgeSessionSimFluent
set
public StatefulKnowledgeSessionSimFluent set(String name)
- Description copied from interface:
StatefulRuleSessionFluent
- The last executed command, if it returns a value, is set to a name in this executings context
- Specified by:
set in interface StatefulRuleSessionFluent<StatefulKnowledgeSessionSimFluent>
- Returns:
startProcess
public StatefulKnowledgeSessionSimFluent startProcess(String identifier,
Map<String,Object> params)
- Specified by:
startProcess in interface StatefulProcessSessionFluent<StatefulKnowledgeSessionSimFluent>
startProcess
public StatefulKnowledgeSessionSimFluent startProcess(String identifier)
- Specified by:
startProcess in interface StatefulProcessSessionFluent<StatefulKnowledgeSessionSimFluent>
createProcessInstance
public StatefulKnowledgeSessionSimFluent createProcessInstance(String identifier,
Map<String,Object> params)
- Specified by:
createProcessInstance in interface StatefulProcessSessionFluent<StatefulKnowledgeSessionSimFluent>
startProcessInstance
public StatefulKnowledgeSessionSimFluent startProcessInstance(long processId)
- Specified by:
startProcessInstance in interface StatefulProcessSessionFluent<StatefulKnowledgeSessionSimFluent>
signalEvent
public StatefulKnowledgeSessionSimFluent signalEvent(String id,
Object event,
long processId)
- Specified by:
signalEvent in interface StatefulProcessSessionFluent<StatefulKnowledgeSessionSimFluent>
signalEvent
public StatefulKnowledgeSessionSimFluent signalEvent(String id,
Object event)
- Specified by:
signalEvent in interface StatefulProcessSessionFluent<StatefulKnowledgeSessionSimFluent>
newStep
public StatefulKnowledgeSessionSimFluent newStep(long distanceMillis)
- Specified by:
newStep in interface StatefulKnowledgeSessionSimFluent
newStep
public StatefulKnowledgeSessionSimFluent newStep(long distanceMillis,
TimeUnit timeUnit)
- Specified by:
newStep in interface StatefulKnowledgeSessionSimFluent
newRelativeStep
public StatefulKnowledgeSessionSimFluent newRelativeStep(long relativeDistance)
- Specified by:
newRelativeStep in interface StatefulKnowledgeSessionSimFluent
newRelativeStep
public StatefulKnowledgeSessionSimFluent newRelativeStep(long relativeDistance,
TimeUnit timeUnit)
- Specified by:
newRelativeStep in interface StatefulKnowledgeSessionSimFluent
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.