Package org.drools.core.command.impl
Class CommandFactoryServiceImpl
- java.lang.Object
-
- org.drools.core.command.impl.CommandFactoryServiceImpl
-
- All Implemented Interfaces:
org.kie.api.command.KieCommands
,org.kie.internal.command.ExtendedKieCommands
public class CommandFactoryServiceImpl extends Object implements org.kie.internal.command.ExtendedKieCommands
-
-
Constructor Summary
Constructors Constructor Description CommandFactoryServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle>
fromExternalFactHandleCommand(String factHandleExternalForm)
org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle>
fromExternalFactHandleCommand(String factHandleExternalForm, boolean disconnected)
org.kie.api.command.Command
newAbortWorkItem(long workItemId)
org.kie.api.command.Command<Long>
newAdvanceSessionTime(long amount, TimeUnit unit)
org.kie.api.command.Command<Long>
newAdvanceSessionTime(long amount, TimeUnit unit, String outIdentifier)
org.kie.api.command.Command
newAgendaGroupSetFocus(String name)
org.kie.api.command.Command
newApplyPmmlModel(org.kie.api.pmml.PMMLRequestData request)
org.kie.api.command.BatchExecutionCommand
newBatchExecution(List<? extends org.kie.api.command.Command> commands)
org.kie.api.command.BatchExecutionCommand
newBatchExecution(List<? extends org.kie.api.command.Command> commands, String lookup)
org.kie.api.command.Command
newClearActivationGroup(String name)
org.kie.api.command.Command
newClearAgenda()
org.kie.api.command.Command
newClearAgendaGroup(String name)
org.kie.api.command.Command
newClearRuleFlowGroup(String name)
org.kie.api.command.Command
newCompleteWorkItem(long workItemId, Map<String,Object> results)
org.kie.api.command.Command
newDelete(org.kie.api.runtime.rule.FactHandle factHandle)
org.kie.api.command.Command
newDeleteObject(Object object, String entryPoint)
org.kie.api.command.Command
newDispose()
org.kie.api.command.Command
newEnableAuditLog(String filename)
org.kie.api.command.Command
newEnableAuditLog(String directory, String filename)
org.kie.api.command.Command
newFireAllRules()
org.kie.api.command.Command
newFireAllRules(int max)
org.kie.api.command.Command
newFireAllRules(String outidentifier)
org.kie.api.command.Command
newGetFactHandle(Object object)
org.kie.api.command.Command
newGetFactHandleInEntryPoint(Object object, String entryPoint)
org.kie.api.command.Command
newGetFactHandles()
org.kie.api.command.Command
newGetFactHandles(String outIdentifier)
org.kie.api.command.Command
newGetFactHandles(org.kie.api.runtime.ObjectFilter filter)
org.kie.api.command.Command
newGetFactHandles(org.kie.api.runtime.ObjectFilter filter, String outIdentifier)
org.kie.api.command.Command
newGetGlobal(String identifier)
org.kie.api.command.Command
newGetGlobal(String identifier, String outIdentifier)
org.kie.api.command.Command
newGetObject(org.kie.api.runtime.rule.FactHandle factHandle)
org.kie.api.command.Command
newGetObject(org.kie.api.runtime.rule.FactHandle factHandle, String outIdentifier)
org.kie.api.command.Command
newGetObjects()
org.kie.api.command.Command
newGetObjects(String outIdentifier)
org.kie.api.command.Command
newGetObjects(org.kie.api.runtime.ObjectFilter filter)
org.kie.api.command.Command
newGetObjects(org.kie.api.runtime.ObjectFilter filter, String outIdentifier)
org.kie.api.command.Command<Long>
newGetSessionTime()
org.kie.api.command.Command<Long>
newGetSessionTime(String outIdentifier)
org.kie.api.command.Command
newInsert(Object object)
org.kie.api.command.Command
newInsert(Object object, String outIdentifier)
org.kie.api.command.Command
newInsert(Object object, String outIdentifier, boolean returnObject, String entryPoint)
org.kie.api.command.Command
newInsertElements(Iterable objects)
org.kie.api.command.Command
newInsertElements(Iterable objects, String outIdentifier)
org.kie.api.command.Command
newInsertElements(Iterable objects, String outIdentifier, boolean returnObject, String entryPoint)
org.kie.api.command.Command
newKBuilderSetPropertyCommand(String id, String name, String value)
Deprecated.org.kie.api.command.Command
newKnowledgeBuilderSetPropertyCommand(String id, String name, String value)
org.kie.api.command.Command
newModify(org.kie.api.runtime.rule.FactHandle factHandle, List<org.kie.api.command.Setter> setters)
org.kie.api.command.Command
newNewKnowledgeBuilderConfigurationCommand(String localId)
org.kie.api.command.Command
newQuery(String identifier, String name)
org.kie.api.command.Command
newQuery(String identifier, String name, Object[] arguments)
org.kie.api.command.Command
newRegisterWorkItemHandlerCommand(org.kie.api.runtime.process.WorkItemHandler handler, String workItemName)
org.kie.api.command.Command
newSetGlobal(String identifier, Object object)
org.kie.api.command.Command
newSetGlobal(String identifier, Object object, boolean out)
org.kie.api.command.Command
newSetGlobal(String identifier, Object object, String outIdentifier)
org.kie.api.command.Setter
newSetter(String accessor, String value)
org.kie.api.command.Command
newSignalEvent(long processInstanceId, String type, Object event)
org.kie.api.command.Command
newSignalEvent(String type, Object event)
org.kie.api.command.Command
newStartProcess(String processId)
org.kie.api.command.Command
newStartProcess(String processId, Map<String,Object> parameters)
-
-
-
Method Detail
-
newGetGlobal
public org.kie.api.command.Command newGetGlobal(String identifier)
- Specified by:
newGetGlobal
in interfaceorg.kie.api.command.KieCommands
-
newGetGlobal
public org.kie.api.command.Command newGetGlobal(String identifier, String outIdentifier)
- Specified by:
newGetGlobal
in interfaceorg.kie.api.command.KieCommands
-
newDispose
public org.kie.api.command.Command newDispose()
- Specified by:
newDispose
in interfaceorg.kie.api.command.KieCommands
-
newInsertElements
public org.kie.api.command.Command newInsertElements(Iterable objects)
- Specified by:
newInsertElements
in interfaceorg.kie.api.command.KieCommands
-
newInsertElements
public org.kie.api.command.Command newInsertElements(Iterable objects, String outIdentifier)
- Specified by:
newInsertElements
in interfaceorg.kie.api.command.KieCommands
-
newInsertElements
public org.kie.api.command.Command newInsertElements(Iterable objects, String outIdentifier, boolean returnObject, String entryPoint)
- Specified by:
newInsertElements
in interfaceorg.kie.api.command.KieCommands
-
newInsert
public org.kie.api.command.Command newInsert(Object object)
- Specified by:
newInsert
in interfaceorg.kie.api.command.KieCommands
-
newInsert
public org.kie.api.command.Command newInsert(Object object, String outIdentifier)
- Specified by:
newInsert
in interfaceorg.kie.api.command.KieCommands
-
newInsert
public org.kie.api.command.Command newInsert(Object object, String outIdentifier, boolean returnObject, String entryPoint)
- Specified by:
newInsert
in interfaceorg.kie.api.command.KieCommands
-
newDelete
public org.kie.api.command.Command newDelete(org.kie.api.runtime.rule.FactHandle factHandle)
- Specified by:
newDelete
in interfaceorg.kie.api.command.KieCommands
-
newDeleteObject
public org.kie.api.command.Command newDeleteObject(Object object, String entryPoint)
- Specified by:
newDeleteObject
in interfaceorg.kie.api.command.KieCommands
-
newSetter
public org.kie.api.command.Setter newSetter(String accessor, String value)
- Specified by:
newSetter
in interfaceorg.kie.api.command.KieCommands
-
newModify
public org.kie.api.command.Command newModify(org.kie.api.runtime.rule.FactHandle factHandle, List<org.kie.api.command.Setter> setters)
- Specified by:
newModify
in interfaceorg.kie.api.command.KieCommands
-
newGetObject
public org.kie.api.command.Command newGetObject(org.kie.api.runtime.rule.FactHandle factHandle)
- Specified by:
newGetObject
in interfaceorg.kie.api.command.KieCommands
-
newGetObject
public org.kie.api.command.Command newGetObject(org.kie.api.runtime.rule.FactHandle factHandle, String outIdentifier)
- Specified by:
newGetObject
in interfaceorg.kie.api.command.KieCommands
-
newGetObjects
public org.kie.api.command.Command newGetObjects()
- Specified by:
newGetObjects
in interfaceorg.kie.api.command.KieCommands
-
newGetObjects
public org.kie.api.command.Command newGetObjects(String outIdentifier)
- Specified by:
newGetObjects
in interfaceorg.kie.api.command.KieCommands
-
newGetObjects
public org.kie.api.command.Command newGetObjects(org.kie.api.runtime.ObjectFilter filter)
- Specified by:
newGetObjects
in interfaceorg.kie.api.command.KieCommands
-
newGetObjects
public org.kie.api.command.Command newGetObjects(org.kie.api.runtime.ObjectFilter filter, String outIdentifier)
- Specified by:
newGetObjects
in interfaceorg.kie.api.command.KieCommands
-
newSetGlobal
public org.kie.api.command.Command newSetGlobal(String identifier, Object object)
- Specified by:
newSetGlobal
in interfaceorg.kie.api.command.KieCommands
-
newSetGlobal
public org.kie.api.command.Command newSetGlobal(String identifier, Object object, boolean out)
- Specified by:
newSetGlobal
in interfaceorg.kie.api.command.KieCommands
-
newSetGlobal
public org.kie.api.command.Command newSetGlobal(String identifier, Object object, String outIdentifier)
- Specified by:
newSetGlobal
in interfaceorg.kie.api.command.KieCommands
-
newFireAllRules
public org.kie.api.command.Command newFireAllRules()
- Specified by:
newFireAllRules
in interfaceorg.kie.api.command.KieCommands
-
newFireAllRules
public org.kie.api.command.Command newFireAllRules(int max)
- Specified by:
newFireAllRules
in interfaceorg.kie.api.command.KieCommands
-
newFireAllRules
public org.kie.api.command.Command newFireAllRules(String outidentifier)
- Specified by:
newFireAllRules
in interfaceorg.kie.api.command.KieCommands
-
newGetFactHandle
public org.kie.api.command.Command newGetFactHandle(Object object)
- Specified by:
newGetFactHandle
in interfaceorg.kie.api.command.KieCommands
-
newGetFactHandleInEntryPoint
public org.kie.api.command.Command newGetFactHandleInEntryPoint(Object object, String entryPoint)
- Specified by:
newGetFactHandleInEntryPoint
in interfaceorg.kie.api.command.KieCommands
-
newStartProcess
public org.kie.api.command.Command newStartProcess(String processId)
- Specified by:
newStartProcess
in interfaceorg.kie.api.command.KieCommands
-
newStartProcess
public org.kie.api.command.Command newStartProcess(String processId, Map<String,Object> parameters)
- Specified by:
newStartProcess
in interfaceorg.kie.api.command.KieCommands
-
newSignalEvent
public org.kie.api.command.Command newSignalEvent(String type, Object event)
- Specified by:
newSignalEvent
in interfaceorg.kie.api.command.KieCommands
-
newSignalEvent
public org.kie.api.command.Command newSignalEvent(long processInstanceId, String type, Object event)
- Specified by:
newSignalEvent
in interfaceorg.kie.api.command.KieCommands
-
newCompleteWorkItem
public org.kie.api.command.Command newCompleteWorkItem(long workItemId, Map<String,Object> results)
- Specified by:
newCompleteWorkItem
in interfaceorg.kie.api.command.KieCommands
-
newAbortWorkItem
public org.kie.api.command.Command newAbortWorkItem(long workItemId)
- Specified by:
newAbortWorkItem
in interfaceorg.kie.api.command.KieCommands
-
newRegisterWorkItemHandlerCommand
public org.kie.api.command.Command newRegisterWorkItemHandlerCommand(org.kie.api.runtime.process.WorkItemHandler handler, String workItemName)
- Specified by:
newRegisterWorkItemHandlerCommand
in interfaceorg.kie.api.command.KieCommands
-
newQuery
public org.kie.api.command.Command newQuery(String identifier, String name)
- Specified by:
newQuery
in interfaceorg.kie.api.command.KieCommands
-
newQuery
public org.kie.api.command.Command newQuery(String identifier, String name, Object[] arguments)
- Specified by:
newQuery
in interfaceorg.kie.api.command.KieCommands
-
newBatchExecution
public org.kie.api.command.BatchExecutionCommand newBatchExecution(List<? extends org.kie.api.command.Command> commands)
- Specified by:
newBatchExecution
in interfaceorg.kie.api.command.KieCommands
-
newBatchExecution
public org.kie.api.command.BatchExecutionCommand newBatchExecution(List<? extends org.kie.api.command.Command> commands, String lookup)
- Specified by:
newBatchExecution
in interfaceorg.kie.api.command.KieCommands
-
newKBuilderSetPropertyCommand
@Deprecated public org.kie.api.command.Command newKBuilderSetPropertyCommand(String id, String name, String value)
Deprecated.
-
newKnowledgeBuilderSetPropertyCommand
public org.kie.api.command.Command newKnowledgeBuilderSetPropertyCommand(String id, String name, String value)
-
newNewKnowledgeBuilderConfigurationCommand
public org.kie.api.command.Command newNewKnowledgeBuilderConfigurationCommand(String localId)
-
fromExternalFactHandleCommand
public org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm)
- Specified by:
fromExternalFactHandleCommand
in interfaceorg.kie.api.command.KieCommands
-
fromExternalFactHandleCommand
public org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm, boolean disconnected)
- Specified by:
fromExternalFactHandleCommand
in interfaceorg.kie.api.command.KieCommands
-
newAgendaGroupSetFocus
public org.kie.api.command.Command newAgendaGroupSetFocus(String name)
- Specified by:
newAgendaGroupSetFocus
in interfaceorg.kie.api.command.KieCommands
-
newGetFactHandles
public org.kie.api.command.Command newGetFactHandles()
- Specified by:
newGetFactHandles
in interfaceorg.kie.api.command.KieCommands
-
newGetFactHandles
public org.kie.api.command.Command newGetFactHandles(String outIdentifier)
- Specified by:
newGetFactHandles
in interfaceorg.kie.api.command.KieCommands
-
newGetFactHandles
public org.kie.api.command.Command newGetFactHandles(org.kie.api.runtime.ObjectFilter filter)
- Specified by:
newGetFactHandles
in interfaceorg.kie.api.command.KieCommands
-
newGetFactHandles
public org.kie.api.command.Command newGetFactHandles(org.kie.api.runtime.ObjectFilter filter, String outIdentifier)
- Specified by:
newGetFactHandles
in interfaceorg.kie.api.command.KieCommands
-
newClearActivationGroup
public org.kie.api.command.Command newClearActivationGroup(String name)
- Specified by:
newClearActivationGroup
in interfaceorg.kie.internal.command.ExtendedKieCommands
-
newClearAgenda
public org.kie.api.command.Command newClearAgenda()
- Specified by:
newClearAgenda
in interfaceorg.kie.internal.command.ExtendedKieCommands
-
newClearAgendaGroup
public org.kie.api.command.Command newClearAgendaGroup(String name)
- Specified by:
newClearAgendaGroup
in interfaceorg.kie.internal.command.ExtendedKieCommands
-
newClearRuleFlowGroup
public org.kie.api.command.Command newClearRuleFlowGroup(String name)
- Specified by:
newClearRuleFlowGroup
in interfaceorg.kie.internal.command.ExtendedKieCommands
-
newEnableAuditLog
public org.kie.api.command.Command newEnableAuditLog(String directory, String filename)
- Specified by:
newEnableAuditLog
in interfaceorg.kie.internal.command.ExtendedKieCommands
-
newEnableAuditLog
public org.kie.api.command.Command newEnableAuditLog(String filename)
- Specified by:
newEnableAuditLog
in interfaceorg.kie.internal.command.ExtendedKieCommands
-
newGetSessionTime
public org.kie.api.command.Command<Long> newGetSessionTime()
- Specified by:
newGetSessionTime
in interfaceorg.kie.api.command.KieCommands
-
newGetSessionTime
public org.kie.api.command.Command<Long> newGetSessionTime(String outIdentifier)
- Specified by:
newGetSessionTime
in interfaceorg.kie.api.command.KieCommands
-
newAdvanceSessionTime
public org.kie.api.command.Command<Long> newAdvanceSessionTime(long amount, TimeUnit unit)
- Specified by:
newAdvanceSessionTime
in interfaceorg.kie.api.command.KieCommands
-
newAdvanceSessionTime
public org.kie.api.command.Command<Long> newAdvanceSessionTime(long amount, TimeUnit unit, String outIdentifier)
- Specified by:
newAdvanceSessionTime
in interfaceorg.kie.api.command.KieCommands
-
newApplyPmmlModel
public org.kie.api.command.Command newApplyPmmlModel(org.kie.api.pmml.PMMLRequestData request)
- Specified by:
newApplyPmmlModel
in interfaceorg.kie.api.command.KieCommands
-
-