## Uses of Class
org.kie.api.executor.CommandContext

- Packages that use CommandContext
  Package | Description
  --- | ---
  org.kie.api.executor |

- - ### Uses of CommandContext in org.kie.api.executor

    Methods in org.kie.api.executor with parameters of type CommandContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionResults` | Command.`execute(CommandContext ctx)` Executed this command's logic.
    `void` | CommandCallback.`onCommandDone(CommandContext ctx, ExecutionResults results)` Executed as soon as command is executed successfully.
    `void` | CommandCallback.`onCommandError(CommandContext ctx, Throwable exception)` Executed only when command failed and all possible retries were already invoked.
    `Long` | ExecutorService.`scheduleRequest(String commandName, CommandContext ctx)`
    `Long` | Executor.`scheduleRequest(String commandName, CommandContext ctx)` Schedules execution of given command as soon as possible.
    `Long` | ExecutorService.`scheduleRequest(String commandId, Date date, CommandContext ctx)`
    `Long` | Executor.`scheduleRequest(String commandName, Date date, CommandContext ctx)` Schedules execution of given command on defined time.

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