Class 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 Detail

      • CommandFactoryServiceImpl

        public CommandFactoryServiceImpl()
    • Method Detail

      • newGetGlobal

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

        public org.kie.api.command.Command newGetGlobal​(String identifier,
                                                        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​(Iterable objects)
        Specified by:
        newInsertElements in interface org.kie.api.command.KieCommands
      • newInsertElements

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

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

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

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

        public org.kie.api.command.Command newInsert​(Object object,
                                                     String outIdentifier,
                                                     boolean returnObject,
                                                     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​(Object object,
                                                           String entryPoint)
        Specified by:
        newDeleteObject in interface org.kie.api.command.KieCommands
      • newSetter

        public org.kie.api.command.Setter newSetter​(String accessor,
                                                    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,
                                                     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,
                                                        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​(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,
                                                         String outIdentifier)
        Specified by:
        newGetObjects in interface org.kie.api.command.KieCommands
      • newSetGlobal

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

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

        public org.kie.api.command.Command newSetGlobal​(String identifier,
                                                        Object object,
                                                        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​(String outidentifier)
        Specified by:
        newFireAllRules in interface org.kie.api.command.KieCommands
      • newGetFactHandle

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

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

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

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

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

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

        public org.kie.api.command.Command newCompleteWorkItem​(long workItemId,
                                                               Map<String,​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,
                                                                             String workItemName)
        Specified by:
        newRegisterWorkItemHandlerCommand in interface org.kie.api.command.KieCommands
      • newQuery

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

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

        public org.kie.api.command.BatchExecutionCommand newBatchExecution​(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​(List<? extends org.kie.api.command.Command> commands,
                                                                           String lookup)
        Specified by:
        newBatchExecution in interface org.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 interface org.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 interface org.kie.api.command.KieCommands
      • newAgendaGroupSetFocus

        public org.kie.api.command.Command newAgendaGroupSetFocus​(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​(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,
                                                             String outIdentifier)
        Specified by:
        newGetFactHandles in interface org.kie.api.command.KieCommands
      • newClearActivationGroup

        public org.kie.api.command.Command newClearActivationGroup​(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​(String name)
        Specified by:
        newClearAgendaGroup in interface org.kie.internal.command.ExtendedKieCommands
      • newClearRuleFlowGroup

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

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

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

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

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

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

        public org.kie.api.command.Command<Long> newAdvanceSessionTime​(long amount,
                                                                       TimeUnit unit,
                                                                       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