## 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 and Description
    --- | ---
    `interface` | `BatchExecutionCommand`
    `interface` | `ExecutableCommand<T>`

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

    Method parameters in org.kie.api.command with type arguments of type Command
    Modifier and Type | Method and Description
    --- | ---
    `BatchExecutionCommand` | KieCommands.`newBatchExecution(List<? extends Command> commands)`
    `BatchExecutionCommand` | KieCommands.`newBatchExecution(List<? extends Command> commands, 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 and Description
    --- | ---
    `List<Command>` | BatchRequestMessage.`getCommands()`

    Methods in org.kie.api.runtime with parameters of type Command
    Modifier and Type | Method and 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)`

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.