Package org.kie.api.command
Interface KieCommands
-
- All Superinterfaces:
Comparable<KieService>
,KieService
public interface KieCommands extends KieService
KieCommands is a factory for Commands that can be used by classes that implement CommandExecutor. Typically more than one Command will want to be executed, where is where the BatchExecution comes in, which takes a List of commands, think of it as CompositeCommand.
-
-
Method Summary
-
Methods inherited from interface org.kie.api.internal.utils.KieService
compareTo, servicePriority
-
-
-
-
Method Detail
-
newDispose
Command newDispose()
-
newInsert
Command newInsert(Object object, String outIdentifier, boolean returnObject, String entryPoint)
-
newInsertElements
Command newInsertElements(Iterable objects, String outIdentifier, boolean returnObject, String entryPoint)
-
newDelete
Command newDelete(FactHandle factHandle)
-
newModify
Command newModify(FactHandle factHandle, List<Setter> setters)
-
newFireAllRules
Command newFireAllRules()
-
newFireAllRules
Command newFireAllRules(int max)
-
newGetFactHandleInEntryPoint
Command newGetFactHandleInEntryPoint(Object object, String entryPoint)
-
newGetObject
Command newGetObject(FactHandle factHandle)
-
newGetObject
Command newGetObject(FactHandle factHandle, String outIdentifier)
-
newGetObjects
Command newGetObjects()
-
newGetObjects
Command newGetObjects(ObjectFilter filter)
-
newGetObjects
Command newGetObjects(ObjectFilter filter, String outIdentifier)
-
newBatchExecution
BatchExecutionCommand newBatchExecution(List<? extends Command> commands)
-
newBatchExecution
BatchExecutionCommand newBatchExecution(List<? extends Command> commands, String lookup)
-
newRegisterWorkItemHandlerCommand
Command newRegisterWorkItemHandlerCommand(WorkItemHandler handler, String workItemName)
-
newAbortWorkItem
Command newAbortWorkItem(long workItemId)
-
fromExternalFactHandleCommand
Command<FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm)
-
fromExternalFactHandleCommand
Command<FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm, boolean disconnected)
-
newGetFactHandles
Command newGetFactHandles()
-
newGetFactHandles
Command newGetFactHandles(ObjectFilter filter)
-
newGetFactHandles
Command newGetFactHandles(ObjectFilter filter, String outIdentifier)
-
newAdvanceSessionTime
Command<Long> newAdvanceSessionTime(long amount, TimeUnit unit, String outIdentifier)
-
newApplyPmmlModel
Command newApplyPmmlModel(PMMLRequestData request)
-
newExecutionResults
ExecutionResults newExecutionResults()
-
-