org.drools.fluent.batch.imp
Class FluentBatchExecutionImpl

java.lang.Object
  extended by org.drools.fluent.batch.imp.FluentBatchExecutionImpl
All Implemented Interfaces:
FluentBatchExecution, org.drools.fluent.FluentRoot, StatefulRuleSessionFluent<FluentBatchExecution>

public class FluentBatchExecutionImpl
extends Object
implements FluentBatchExecution


Constructor Summary
FluentBatchExecutionImpl()
           
 
Method Summary
 void addCommand(org.drools.command.impl.GenericCommand<?> cmd)
           
 FluentBatchExecution createProcessInstance(String identifier, Map<String,Object> params)
           
 FluentBatchExecution fireAllRules()
           
 org.drools.command.BatchExecutionCommand getBatchExecution()
           
<P> org.drools.fluent.VariableContext<P>
getVariableContext()
           
 FluentBatchExecution insert(Object object)
           
 FluentBatchExecution newBatchExecution()
           
 FluentBatchExecution retract(org.drools.runtime.rule.FactHandle handle)
           
 FluentBatchExecution set(String name)
          The last executed command, if it returns a value, is set to a name in this executings context
 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.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
 

Constructor Detail

FluentBatchExecutionImpl

public FluentBatchExecutionImpl()
Method Detail

addCommand

public void addCommand(org.drools.command.impl.GenericCommand<?> cmd)

getVariableContext

public <P> org.drools.fluent.VariableContext<P> getVariableContext()
Specified by:
getVariableContext in interface org.drools.fluent.FluentRoot

getBatchExecution

public org.drools.command.BatchExecutionCommand getBatchExecution()
Specified by:
getBatchExecution in interface FluentBatchExecution

newBatchExecution

public FluentBatchExecution newBatchExecution()
Specified by:
newBatchExecution in interface FluentBatchExecution

fireAllRules

public FluentBatchExecution fireAllRules()
Specified by:
fireAllRules in interface StatefulRuleSessionFluent<FluentBatchExecution>

insert

public FluentBatchExecution insert(Object object)
Specified by:
insert in interface StatefulRuleSessionFluent<FluentBatchExecution>

update

public FluentBatchExecution update(org.drools.runtime.rule.FactHandle handle,
                                   Object object)
Specified by:
update in interface StatefulRuleSessionFluent<FluentBatchExecution>

retract

public FluentBatchExecution retract(org.drools.runtime.rule.FactHandle handle)
Specified by:
retract in interface StatefulRuleSessionFluent<FluentBatchExecution>

setGlobal

public FluentBatchExecution setGlobal(String identifier,
                                      Object object)
Specified by:
setGlobal in interface StatefulRuleSessionFluent<FluentBatchExecution>

set

public FluentBatchExecution 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<FluentBatchExecution>
Returns:

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)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.