Class CommandFactoryServiceImpl

  • All Implemented Interfaces:
    java.lang.Comparable<org.kie.api.internal.utils.KieService>, org.kie.api.command.KieCommands, org.kie.api.internal.utils.KieService, org.kie.internal.command.ExtendedKieCommands

    public class CommandFactoryServiceImpl
    extends java.lang.Object
    implements org.kie.internal.command.ExtendedKieCommands
    • Field Summary

      • Fields inherited from interface org.kie.api.internal.utils.KieService

        UNDEFINED
    • 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​(java.lang.String factHandleExternalForm)  
      org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle> fromExternalFactHandleCommand​(java.lang.String factHandleExternalForm, boolean disconnected)  
      org.kie.api.command.Command newAbortWorkItem​(long workItemId)  
      org.kie.api.command.Command<java.lang.Long> newAdvanceSessionTime​(long amount, java.util.concurrent.TimeUnit unit)  
      org.kie.api.command.Command<java.lang.Long> newAdvanceSessionTime​(long amount, java.util.concurrent.TimeUnit unit, java.lang.String outIdentifier)  
      org.kie.api.command.Command newAgendaGroupSetFocus​(java.lang.String name)  
      org.kie.api.command.Command newApplyPmmlModel​(org.kie.api.pmml.PMMLRequestData request)  
      org.kie.api.command.BatchExecutionCommand newBatchExecution​(java.util.List<? extends org.kie.api.command.Command> commands)  
      org.kie.api.command.BatchExecutionCommand newBatchExecution​(java.util.List<? extends org.kie.api.command.Command> commands, java.lang.String lookup)  
      org.kie.api.command.Command newClearActivationGroup​(java.lang.String name)  
      org.kie.api.command.Command newClearAgenda()  
      org.kie.api.command.Command newClearAgendaGroup​(java.lang.String name)  
      org.kie.api.command.Command newClearRuleFlowGroup​(java.lang.String name)  
      org.kie.api.command.Command newCompleteWorkItem​(long workItemId, java.util.Map<java.lang.String,​java.lang.Object> results)  
      org.kie.api.command.Command newDelete​(org.kie.api.runtime.rule.FactHandle factHandle)  
      org.kie.api.command.Command newDeleteObject​(java.lang.Object object, java.lang.String entryPoint)  
      org.kie.api.command.Command newDispose()  
      org.kie.api.command.Command newEnableAuditLog​(java.lang.String filename)  
      org.kie.api.command.Command newEnableAuditLog​(java.lang.String directory, java.lang.String filename)  
      org.kie.api.runtime.ExecutionResults newExecutionResults()  
      org.kie.api.command.Command newFireAllRules()  
      org.kie.api.command.Command newFireAllRules​(int max)  
      org.kie.api.command.Command newFireAllRules​(java.lang.String outidentifier)  
      org.kie.api.command.Command newGetFactHandle​(java.lang.Object object)  
      org.kie.api.command.Command newGetFactHandleInEntryPoint​(java.lang.Object object, java.lang.String entryPoint)  
      org.kie.api.command.Command newGetFactHandles()  
      org.kie.api.command.Command newGetFactHandles​(java.lang.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, java.lang.String outIdentifier)  
      org.kie.api.command.Command newGetGlobal​(java.lang.String identifier)  
      org.kie.api.command.Command newGetGlobal​(java.lang.String identifier, java.lang.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, java.lang.String outIdentifier)  
      org.kie.api.command.Command newGetObjects()  
      org.kie.api.command.Command newGetObjects​(java.lang.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, java.lang.String outIdentifier)  
      org.kie.api.command.Command<java.lang.Long> newGetSessionTime()  
      org.kie.api.command.Command<java.lang.Long> newGetSessionTime​(java.lang.String outIdentifier)  
      org.kie.api.command.Command newInsert​(java.lang.Object object)  
      org.kie.api.command.Command newInsert​(java.lang.Object object, java.lang.String outIdentifier)  
      org.kie.api.command.Command newInsert​(java.lang.Object object, java.lang.String outIdentifier, boolean returnObject, java.lang.String entryPoint)  
      org.kie.api.command.Command newInsertElements​(java.lang.Iterable objects)  
      org.kie.api.command.Command newInsertElements​(java.lang.Iterable objects, java.lang.String outIdentifier)  
      org.kie.api.command.Command newInsertElements​(java.lang.Iterable objects, java.lang.String outIdentifier, boolean returnObject, java.lang.String entryPoint)  
      org.kie.api.command.Command newKBuilderSetPropertyCommand​(java.lang.String id, java.lang.String name, java.lang.String value)
      Deprecated.
      org.kie.api.command.Command newKnowledgeBuilderSetPropertyCommand​(java.lang.String id, java.lang.String name, java.lang.String value)  
      org.kie.api.command.Command newModify​(org.kie.api.runtime.rule.FactHandle factHandle, java.util.List<org.kie.api.command.Setter> setters)  
      org.kie.api.command.Command newNewKnowledgeBuilderConfigurationCommand​(java.lang.String localId)  
      org.kie.api.command.Command newQuery​(java.lang.String identifier, java.lang.String name)  
      org.kie.api.command.Command newQuery​(java.lang.String identifier, java.lang.String name, java.lang.Object[] arguments)  
      org.kie.api.command.Command newRegisterWorkItemHandlerCommand​(org.kie.api.runtime.process.WorkItemHandler handler, java.lang.String workItemName)  
      org.kie.api.command.Command newSetGlobal​(java.lang.String identifier, java.lang.Object object)  
      org.kie.api.command.Command newSetGlobal​(java.lang.String identifier, java.lang.Object object, boolean out)  
      org.kie.api.command.Command newSetGlobal​(java.lang.String identifier, java.lang.Object object, java.lang.String outIdentifier)  
      org.kie.api.command.Setter newSetter​(java.lang.String accessor, java.lang.String value)  
      org.kie.api.command.Command newSignalEvent​(java.lang.String type, java.lang.Object event)  
      org.kie.api.command.Command newSignalEvent​(java.lang.String processInstanceId, java.lang.String type, java.lang.Object event)  
      org.kie.api.command.Command newStartProcess​(java.lang.String processId)  
      org.kie.api.command.Command newStartProcess​(java.lang.String processId, java.util.Map<java.lang.String,​java.lang.Object> parameters)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.kie.api.internal.utils.KieService

        compareTo, servicePriority, serviceTag
    • Constructor Detail

      • CommandFactoryServiceImpl

        public CommandFactoryServiceImpl()
    • Method Detail

      • newGetGlobal

        public org.kie.api.command.Command newGetGlobal​(java.lang.String identifier)
        Specified by:
        newGetGlobal in interface org.kie.api.command.KieCommands
      • newGetGlobal

        public org.kie.api.command.Command newGetGlobal​(java.lang.String identifier,
                                                        java.lang.String outIdentifier)
        Specified by:
        newGetGlobal in interface org.kie.api.command.KieCommands
      • newDispose

        public org.kie.api.command.Command newDispose()
        Specified by:
        newDispose in interface org.kie.api.command.KieCommands
      • newInsertElements

        public org.kie.api.command.Command newInsertElements​(java.lang.Iterable objects)
        Specified by:
        newInsertElements in interface org.kie.api.command.KieCommands
      • newInsertElements

        public org.kie.api.command.Command newInsertElements​(java.lang.Iterable objects,
                                                             java.lang.String outIdentifier)
        Specified by:
        newInsertElements in interface org.kie.api.command.KieCommands
      • newInsertElements

        public org.kie.api.command.Command newInsertElements​(java.lang.Iterable objects,
                                                             java.lang.String outIdentifier,
                                                             boolean returnObject,
                                                             java.lang.String entryPoint)
        Specified by:
        newInsertElements in interface org.kie.api.command.KieCommands
      • newInsert

        public org.kie.api.command.Command newInsert​(java.lang.Object object)
        Specified by:
        newInsert in interface org.kie.api.command.KieCommands
      • newInsert

        public org.kie.api.command.Command newInsert​(java.lang.Object object,
                                                     java.lang.String outIdentifier)
        Specified by:
        newInsert in interface org.kie.api.command.KieCommands
      • newInsert

        public org.kie.api.command.Command newInsert​(java.lang.Object object,
                                                     java.lang.String outIdentifier,
                                                     boolean returnObject,
                                                     java.lang.String entryPoint)
        Specified by:
        newInsert in interface org.kie.api.command.KieCommands
      • newDelete

        public org.kie.api.command.Command newDelete​(org.kie.api.runtime.rule.FactHandle factHandle)
        Specified by:
        newDelete in interface org.kie.api.command.KieCommands
      • newDeleteObject

        public org.kie.api.command.Command newDeleteObject​(java.lang.Object object,
                                                           java.lang.String entryPoint)
        Specified by:
        newDeleteObject in interface org.kie.api.command.KieCommands
      • newSetter

        public org.kie.api.command.Setter newSetter​(java.lang.String accessor,
                                                    java.lang.String value)
        Specified by:
        newSetter in interface org.kie.api.command.KieCommands
      • newModify

        public org.kie.api.command.Command newModify​(org.kie.api.runtime.rule.FactHandle factHandle,
                                                     java.util.List<org.kie.api.command.Setter> setters)
        Specified by:
        newModify in interface org.kie.api.command.KieCommands
      • newGetObject

        public org.kie.api.command.Command newGetObject​(org.kie.api.runtime.rule.FactHandle factHandle)
        Specified by:
        newGetObject in interface org.kie.api.command.KieCommands
      • newGetObject

        public org.kie.api.command.Command newGetObject​(org.kie.api.runtime.rule.FactHandle factHandle,
                                                        java.lang.String outIdentifier)
        Specified by:
        newGetObject in interface org.kie.api.command.KieCommands
      • newGetObjects

        public org.kie.api.command.Command newGetObjects()
        Specified by:
        newGetObjects in interface org.kie.api.command.KieCommands
      • newGetObjects

        public org.kie.api.command.Command newGetObjects​(java.lang.String outIdentifier)
        Specified by:
        newGetObjects in interface org.kie.api.command.KieCommands
      • newGetObjects

        public org.kie.api.command.Command newGetObjects​(org.kie.api.runtime.ObjectFilter filter)
        Specified by:
        newGetObjects in interface org.kie.api.command.KieCommands
      • newGetObjects

        public org.kie.api.command.Command newGetObjects​(org.kie.api.runtime.ObjectFilter filter,
                                                         java.lang.String outIdentifier)
        Specified by:
        newGetObjects in interface org.kie.api.command.KieCommands
      • newSetGlobal

        public org.kie.api.command.Command newSetGlobal​(java.lang.String identifier,
                                                        java.lang.Object object)
        Specified by:
        newSetGlobal in interface org.kie.api.command.KieCommands
      • newSetGlobal

        public org.kie.api.command.Command newSetGlobal​(java.lang.String identifier,
                                                        java.lang.Object object,
                                                        boolean out)
        Specified by:
        newSetGlobal in interface org.kie.api.command.KieCommands
      • newSetGlobal

        public org.kie.api.command.Command newSetGlobal​(java.lang.String identifier,
                                                        java.lang.Object object,
                                                        java.lang.String outIdentifier)
        Specified by:
        newSetGlobal in interface org.kie.api.command.KieCommands
      • newFireAllRules

        public org.kie.api.command.Command newFireAllRules()
        Specified by:
        newFireAllRules in interface org.kie.api.command.KieCommands
      • newFireAllRules

        public org.kie.api.command.Command newFireAllRules​(int max)
        Specified by:
        newFireAllRules in interface org.kie.api.command.KieCommands
      • newFireAllRules

        public org.kie.api.command.Command newFireAllRules​(java.lang.String outidentifier)
        Specified by:
        newFireAllRules in interface org.kie.api.command.KieCommands
      • newGetFactHandle

        public org.kie.api.command.Command newGetFactHandle​(java.lang.Object object)
        Specified by:
        newGetFactHandle in interface org.kie.api.command.KieCommands
      • newGetFactHandleInEntryPoint

        public org.kie.api.command.Command newGetFactHandleInEntryPoint​(java.lang.Object object,
                                                                        java.lang.String entryPoint)
        Specified by:
        newGetFactHandleInEntryPoint in interface org.kie.api.command.KieCommands
      • newStartProcess

        public org.kie.api.command.Command newStartProcess​(java.lang.String processId)
        Specified by:
        newStartProcess in interface org.kie.api.command.KieCommands
      • newStartProcess

        public org.kie.api.command.Command newStartProcess​(java.lang.String processId,
                                                           java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Specified by:
        newStartProcess in interface org.kie.api.command.KieCommands
      • newSignalEvent

        public org.kie.api.command.Command newSignalEvent​(java.lang.String type,
                                                          java.lang.Object event)
        Specified by:
        newSignalEvent in interface org.kie.api.command.KieCommands
      • newSignalEvent

        public org.kie.api.command.Command newSignalEvent​(java.lang.String processInstanceId,
                                                          java.lang.String type,
                                                          java.lang.Object event)
        Specified by:
        newSignalEvent in interface org.kie.api.command.KieCommands
      • newCompleteWorkItem

        public org.kie.api.command.Command newCompleteWorkItem​(long workItemId,
                                                               java.util.Map<java.lang.String,​java.lang.Object> results)
        Specified by:
        newCompleteWorkItem in interface org.kie.api.command.KieCommands
      • newAbortWorkItem

        public org.kie.api.command.Command newAbortWorkItem​(long workItemId)
        Specified by:
        newAbortWorkItem in interface org.kie.api.command.KieCommands
      • newRegisterWorkItemHandlerCommand

        public org.kie.api.command.Command newRegisterWorkItemHandlerCommand​(org.kie.api.runtime.process.WorkItemHandler handler,
                                                                             java.lang.String workItemName)
        Specified by:
        newRegisterWorkItemHandlerCommand in interface org.kie.api.command.KieCommands
      • newQuery

        public org.kie.api.command.Command newQuery​(java.lang.String identifier,
                                                    java.lang.String name)
        Specified by:
        newQuery in interface org.kie.api.command.KieCommands
      • newQuery

        public org.kie.api.command.Command newQuery​(java.lang.String identifier,
                                                    java.lang.String name,
                                                    java.lang.Object[] arguments)
        Specified by:
        newQuery in interface org.kie.api.command.KieCommands
      • newBatchExecution

        public org.kie.api.command.BatchExecutionCommand newBatchExecution​(java.util.List<? extends org.kie.api.command.Command> commands)
        Specified by:
        newBatchExecution in interface org.kie.api.command.KieCommands
      • newBatchExecution

        public org.kie.api.command.BatchExecutionCommand newBatchExecution​(java.util.List<? extends org.kie.api.command.Command> commands,
                                                                           java.lang.String lookup)
        Specified by:
        newBatchExecution in interface org.kie.api.command.KieCommands
      • newKBuilderSetPropertyCommand

        @Deprecated
        public org.kie.api.command.Command newKBuilderSetPropertyCommand​(java.lang.String id,
                                                                         java.lang.String name,
                                                                         java.lang.String value)
        Deprecated.
      • newKnowledgeBuilderSetPropertyCommand

        public org.kie.api.command.Command newKnowledgeBuilderSetPropertyCommand​(java.lang.String id,
                                                                                 java.lang.String name,
                                                                                 java.lang.String value)
      • newNewKnowledgeBuilderConfigurationCommand

        public org.kie.api.command.Command newNewKnowledgeBuilderConfigurationCommand​(java.lang.String localId)
      • fromExternalFactHandleCommand

        public org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle> fromExternalFactHandleCommand​(java.lang.String factHandleExternalForm)
        Specified by:
        fromExternalFactHandleCommand in interface org.kie.api.command.KieCommands
      • fromExternalFactHandleCommand

        public org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle> fromExternalFactHandleCommand​(java.lang.String factHandleExternalForm,
                                                                                                              boolean disconnected)
        Specified by:
        fromExternalFactHandleCommand in interface org.kie.api.command.KieCommands
      • newAgendaGroupSetFocus

        public org.kie.api.command.Command newAgendaGroupSetFocus​(java.lang.String name)
        Specified by:
        newAgendaGroupSetFocus in interface org.kie.api.command.KieCommands
      • newGetFactHandles

        public org.kie.api.command.Command newGetFactHandles()
        Specified by:
        newGetFactHandles in interface org.kie.api.command.KieCommands
      • newGetFactHandles

        public org.kie.api.command.Command newGetFactHandles​(java.lang.String outIdentifier)
        Specified by:
        newGetFactHandles in interface org.kie.api.command.KieCommands
      • newGetFactHandles

        public org.kie.api.command.Command newGetFactHandles​(org.kie.api.runtime.ObjectFilter filter)
        Specified by:
        newGetFactHandles in interface org.kie.api.command.KieCommands
      • newGetFactHandles

        public org.kie.api.command.Command newGetFactHandles​(org.kie.api.runtime.ObjectFilter filter,
                                                             java.lang.String outIdentifier)
        Specified by:
        newGetFactHandles in interface org.kie.api.command.KieCommands
      • newClearActivationGroup

        public org.kie.api.command.Command newClearActivationGroup​(java.lang.String name)
        Specified by:
        newClearActivationGroup in interface org.kie.internal.command.ExtendedKieCommands
      • newClearAgenda

        public org.kie.api.command.Command newClearAgenda()
        Specified by:
        newClearAgenda in interface org.kie.internal.command.ExtendedKieCommands
      • newClearAgendaGroup

        public org.kie.api.command.Command newClearAgendaGroup​(java.lang.String name)
        Specified by:
        newClearAgendaGroup in interface org.kie.internal.command.ExtendedKieCommands
      • newClearRuleFlowGroup

        public org.kie.api.command.Command newClearRuleFlowGroup​(java.lang.String name)
        Specified by:
        newClearRuleFlowGroup in interface org.kie.internal.command.ExtendedKieCommands
      • newEnableAuditLog

        public org.kie.api.command.Command newEnableAuditLog​(java.lang.String directory,
                                                             java.lang.String filename)
        Specified by:
        newEnableAuditLog in interface org.kie.internal.command.ExtendedKieCommands
      • newEnableAuditLog

        public org.kie.api.command.Command newEnableAuditLog​(java.lang.String filename)
        Specified by:
        newEnableAuditLog in interface org.kie.internal.command.ExtendedKieCommands
      • newGetSessionTime

        public org.kie.api.command.Command<java.lang.Long> newGetSessionTime()
        Specified by:
        newGetSessionTime in interface org.kie.api.command.KieCommands
      • newGetSessionTime

        public org.kie.api.command.Command<java.lang.Long> newGetSessionTime​(java.lang.String outIdentifier)
        Specified by:
        newGetSessionTime in interface org.kie.api.command.KieCommands
      • newAdvanceSessionTime

        public org.kie.api.command.Command<java.lang.Long> newAdvanceSessionTime​(long amount,
                                                                                 java.util.concurrent.TimeUnit unit)
        Specified by:
        newAdvanceSessionTime in interface org.kie.api.command.KieCommands
      • newAdvanceSessionTime

        public org.kie.api.command.Command<java.lang.Long> newAdvanceSessionTime​(long amount,
                                                                                 java.util.concurrent.TimeUnit unit,
                                                                                 java.lang.String outIdentifier)
        Specified by:
        newAdvanceSessionTime in interface org.kie.api.command.KieCommands
      • newApplyPmmlModel

        public org.kie.api.command.Command newApplyPmmlModel​(org.kie.api.pmml.PMMLRequestData request)
        Specified by:
        newApplyPmmlModel in interface org.kie.api.command.KieCommands
      • newExecutionResults

        public org.kie.api.runtime.ExecutionResults newExecutionResults()
        Specified by:
        newExecutionResults in interface org.kie.api.command.KieCommands