## Uses of Interface
org.kie.api.command.Command

- Packages that use Command
  Package | Description
  --- | ---
  org.kie.api.command |
  org.kie.api.runtime | The runtime engine classes, including KieSession and StatelessKieSession.

- - ### Uses of Command in org.kie.api.command

    Subinterfaces of Command in org.kie.api.command
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `BatchExecutionCommand` |
    `interface` | `ExecutableCommand<T>` |

    Methods in org.kie.api.command that return Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `Command<FactHandle>` | KieCommands.`fromExternalFactHandleCommand​(java.lang.String factHandleExternalForm)` |
    `Command<FactHandle>` | KieCommands.`fromExternalFactHandleCommand​(java.lang.String factHandleExternalForm, boolean disconnected)` |
    `Command` | KieCommands.`newAbortWorkItem​(long workItemId)` |
    `Command<java.lang.Long>` | KieCommands.`newAdvanceSessionTime​(long amount, java.util.concurrent.TimeUnit unit)` |
    `Command<java.lang.Long>` | KieCommands.`newAdvanceSessionTime​(long amount, java.util.concurrent.TimeUnit unit, java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newAgendaGroupSetFocus​(java.lang.String name)` |
    `Command` | KieCommands.`newApplyPmmlModel​(PMMLRequestData request)` |
    `Command` | KieCommands.`newCompleteWorkItem​(long workItemId, java.util.Map<java.lang.String,​java.lang.Object> results)` |
    `Command` | KieCommands.`newDelete​(FactHandle factHandle)` |
    `Command` | KieCommands.`newDeleteObject​(java.lang.Object object, java.lang.String entryPoint)` |
    `Command` | KieCommands.`newDispose()` |
    `Command` | KieCommands.`newFireAllRules()` |
    `Command` | KieCommands.`newFireAllRules​(int max)` |
    `Command` | KieCommands.`newFireAllRules​(java.lang.String outidentifier)` |
    `Command` | KieCommands.`newGetFactHandle​(java.lang.Object object)` |
    `Command` | KieCommands.`newGetFactHandleInEntryPoint​(java.lang.Object object, java.lang.String entryPoint)` |
    `Command` | KieCommands.`newGetFactHandles()` |
    `Command` | KieCommands.`newGetFactHandles​(java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newGetFactHandles​(ObjectFilter filter)` |
    `Command` | KieCommands.`newGetFactHandles​(ObjectFilter filter, java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newGetGlobal​(java.lang.String identifier)` |
    `Command` | KieCommands.`newGetGlobal​(java.lang.String identifier, java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newGetObject​(FactHandle factHandle)` |
    `Command` | KieCommands.`newGetObject​(FactHandle factHandle, java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newGetObjects()` |
    `Command` | KieCommands.`newGetObjects​(java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newGetObjects​(ObjectFilter filter)` |
    `Command` | KieCommands.`newGetObjects​(ObjectFilter filter, java.lang.String outIdentifier)` |
    `Command<java.lang.Long>` | KieCommands.`newGetSessionTime()` |
    `Command<java.lang.Long>` | KieCommands.`newGetSessionTime​(java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newInsert​(java.lang.Object object)` |
    `Command` | KieCommands.`newInsert​(java.lang.Object object, java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newInsert​(java.lang.Object object, java.lang.String outIdentifier, boolean returnObject, java.lang.String entryPoint)` |
    `Command` | KieCommands.`newInsertElements​(java.lang.Iterable objects)` |
    `Command` | KieCommands.`newInsertElements​(java.lang.Iterable objects, java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newInsertElements​(java.lang.Iterable objects, java.lang.String outIdentifier, boolean returnObject, java.lang.String entryPoint)` |
    `Command` | KieCommands.`newModify​(FactHandle factHandle, java.util.List<Setter> setters)` |
    `Command` | KieCommands.`newQuery​(java.lang.String identifier, java.lang.String name)` |
    `Command` | KieCommands.`newQuery​(java.lang.String identifier, java.lang.String name, java.lang.Object[] arguments)` |
    `Command` | KieCommands.`newRegisterWorkItemHandlerCommand​(WorkItemHandler handler, java.lang.String workItemName)` |
    `Command` | KieCommands.`newSetGlobal​(java.lang.String identifie, java.lang.Object object)` |
    `Command` | KieCommands.`newSetGlobal​(java.lang.String identifier, java.lang.Object object, boolean out)` |
    `Command` | KieCommands.`newSetGlobal​(java.lang.String identifier, java.lang.Object object, java.lang.String outIdentifier)` |
    `Command` | KieCommands.`newSignalEvent​(java.lang.String type, java.lang.Object event)` |
    `Command` | KieCommands.`newSignalEvent​(java.lang.String processInstanceId, java.lang.String type, java.lang.Object event)` |
    `Command` | KieCommands.`newStartProcess​(java.lang.String processId)` |
    `Command` | KieCommands.`newStartProcess​(java.lang.String processId, java.util.Map<java.lang.String,​java.lang.Object> parameters)` |

    Method parameters in org.kie.api.command with type arguments of type Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `BatchExecutionCommand` | KieCommands.`newBatchExecution​(java.util.List<? extends Command> commands)` |
    `BatchExecutionCommand` | KieCommands.`newBatchExecution​(java.util.List<? extends Command> commands, java.lang.String lookup)` |

  - ### Uses of Command in org.kie.api.runtime

    Methods in org.kie.api.runtime that return types with arguments of type Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Command>` | BatchRequestMessage.`getCommands()` |

    Methods in org.kie.api.runtime with parameters of type Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> T` | CommandExecutor.`execute​(Command<T> command)` | Execute the command and return a ExecutionResults for the results of the Command.
    `<T> T` | ExecutableRunner.`execute​(Command<T> command, Context ctx)` |