org.drools.simulation.fluent.batch.impl
Class FluentBatchExecutionImpl
java.lang.Object
org.drools.simulation.fluent.batch.impl.FluentBatchExecutionImpl
- All Implemented Interfaces:
- FluentBatchExecution, org.kie.internal.fluent.ContextFluent<FluentBatchExecution>, org.kie.internal.fluent.FluentRoot, org.kie.internal.fluent.runtime.rule.RuleFluent<FluentBatchExecution>
public class FluentBatchExecutionImpl
- extends Object
- implements FluentBatchExecution
|
Method Summary |
void |
addCommand(org.drools.core.command.impl.GenericCommand<?> cmd)
|
FluentBatchExecution |
assertRuleFired(String ruleName)
|
FluentBatchExecution |
assertRuleFired(String ruleName,
int fireCount)
|
FluentBatchExecution |
createProcessInstance(String identifier,
Map<String,Object> params)
|
FluentBatchExecution |
delete(org.kie.api.runtime.rule.FactHandle handle)
|
FluentBatchExecution |
fireAllRules()
|
org.kie.api.command.BatchExecutionCommand |
getBatchExecution()
|
FluentBatchExecution |
getGlobal(String identifier)
|
<P> org.kie.internal.fluent.VariableContext<P> |
|
getVariableContext()
|
FluentBatchExecution |
insert(Object object)
|
FluentBatchExecution |
newBatchExecution()
|
FluentBatchExecution |
out()
|
FluentBatchExecution |
out(String name)
|
FluentBatchExecution |
set(String name)
|
FluentBatchExecution |
setGlobal(String identifier,
Object object)
|
FluentBatchExecution |
signalEvent(String id,
Object event)
|
FluentBatchExecution |
signalEvent(String id,
Object event,
long processId)
|
FluentBatchExecution |
startProcess(String identifier)
|
FluentBatchExecution |
startProcess(String identifier,
Map<String,Object> params)
|
FluentBatchExecution |
startProcessInstance(long processId)
|
FluentBatchExecution |
update(org.kie.api.runtime.rule.FactHandle handle,
Object object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FluentBatchExecutionImpl
public FluentBatchExecutionImpl()
addCommand
public void addCommand(org.drools.core.command.impl.GenericCommand<?> cmd)
getVariableContext
public <P> org.kie.internal.fluent.VariableContext<P> getVariableContext()
- Specified by:
getVariableContext in interface org.kie.internal.fluent.FluentRoot
getBatchExecution
public org.kie.api.command.BatchExecutionCommand getBatchExecution()
- Specified by:
getBatchExecution in interface FluentBatchExecution
newBatchExecution
public FluentBatchExecution newBatchExecution()
- Specified by:
newBatchExecution in interface FluentBatchExecution
insert
public FluentBatchExecution insert(Object object)
- Specified by:
insert in interface org.kie.internal.fluent.runtime.rule.RuleFluent<FluentBatchExecution>
update
public FluentBatchExecution update(org.kie.api.runtime.rule.FactHandle handle,
Object object)
- Specified by:
update in interface org.kie.internal.fluent.runtime.rule.RuleFluent<FluentBatchExecution>
delete
public FluentBatchExecution delete(org.kie.api.runtime.rule.FactHandle handle)
- Specified by:
delete in interface org.kie.internal.fluent.runtime.rule.RuleFluent<FluentBatchExecution>
fireAllRules
public FluentBatchExecution fireAllRules()
- Specified by:
fireAllRules in interface org.kie.internal.fluent.runtime.rule.RuleFluent<FluentBatchExecution>
assertRuleFired
public FluentBatchExecution assertRuleFired(String ruleName)
assertRuleFired
public FluentBatchExecution assertRuleFired(String ruleName,
int fireCount)
setGlobal
public FluentBatchExecution setGlobal(String identifier,
Object object)
- Specified by:
setGlobal in interface org.kie.internal.fluent.runtime.rule.RuleFluent<FluentBatchExecution>
set
public FluentBatchExecution set(String name)
- Specified by:
set in interface org.kie.internal.fluent.ContextFluent<FluentBatchExecution>
startProcess
public FluentBatchExecution startProcess(String identifier,
Map<String,Object> params)
startProcess
public FluentBatchExecution startProcess(String identifier)
createProcessInstance
public FluentBatchExecution createProcessInstance(String identifier,
Map<String,Object> params)
startProcessInstance
public FluentBatchExecution startProcessInstance(long processId)
signalEvent
public FluentBatchExecution signalEvent(String id,
Object event,
long processId)
signalEvent
public FluentBatchExecution signalEvent(String id,
Object event)
out
public FluentBatchExecution out()
- Specified by:
out in interface org.kie.internal.fluent.ContextFluent<FluentBatchExecution>
out
public FluentBatchExecution out(String name)
- Specified by:
out in interface org.kie.internal.fluent.ContextFluent<FluentBatchExecution>
getGlobal
public FluentBatchExecution getGlobal(String identifier)
- Specified by:
getGlobal in interface org.kie.internal.fluent.runtime.rule.RuleFluent<FluentBatchExecution>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.