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

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

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

    Methods in org.kie.api.executor that return STATUS
    Modifier and Type | Method | Description
    --- | --- | ---
    `STATUS` | RequestInfo.`getStatus()` |
    `static STATUS` | STATUS.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static STATUS[]` | STATUS.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.kie.api.executor with parameters of type STATUS
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | RequestInfo.`setStatus​(STATUS status)` | Sets status for the request

    Method parameters in org.kie.api.executor with type arguments of type STATUS
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByBusinessKey​(String businessKey, List<STATUS> statuses, QueryContext queryContext)` | Returns requests identified by `businessKey` usually it should be only one with given business key but it does not have to as same business key requests can be processed sequentially and thus might be in different statuses.
    `List<RequestInfo>` | ExecutorService.`getRequestsByBusinessKey​(String businessKey, List<STATUS> statuses, QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByCommand​(String command, List<STATUS> statuses, QueryContext queryContext)` | Returns requests that are scheduled to run given command
    `List<RequestInfo>` | ExecutorService.`getRequestsByCommand​(String command, List<STATUS> statuses, QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByDeployment​(String deploymentId, List<STATUS> statuses, QueryContext queryContext)` | Returns requests by deployment id
    `List<RequestInfo>` | ExecutorService.`getRequestsByDeployment​(String deploymentId, List<STATUS> statuses, QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByProcessInstance​(Long processInstanceId, List<STATUS> statuses, QueryContext queryContext)` | Returns requests by process instance id
    `List<RequestInfo>` | ExecutorService.`getRequestsByProcessInstance​(Long processInstanceId, List<STATUS> statuses, QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByStatus​(List<STATUS> statuses, QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getRequestsByStatus​(List<STATUS> statuses, QueryContext queryContext)` |