## Uses of Interface
org.kie.api.executor.RequestInfo

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

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

    Methods in org.kie.api.executor that return RequestInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `RequestInfo` | ExecutorStoreService.`findRequest​(Long id)` |
    `RequestInfo` | ExecutorQueryService.`getRequestById​(Long id)` |
    `RequestInfo` | ExecutorService.`getRequestById​(Long requestId)` |
    `RequestInfo` | ExecutorQueryService.`getRequestForProcessing()` | Dedicated method for handling special case that is get the request for processing.
    `RequestInfo` | ExecutorQueryService.`getRequestForProcessing​(Long requestId)` | Dedicated method for handling special case that is get the request for processing by id.
    `RequestInfo` | ExecutorStoreService.`removeRequest​(Long requestId, Consumer<Object> function)` |

    Methods in org.kie.api.executor that return types with arguments of type RequestInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<RequestInfo>` | ExecutorQueryService.`getAllRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getAllRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getCancelledRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getCancelledRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getCompletedRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getCompletedRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getFutureQueuedRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getFutureQueuedRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getInErrorRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getInErrorRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getPendingRequestById​(Long id)` |
    `List<RequestInfo>` | ExecutorService.`getPendingRequestById​(Long id)` |
    `List<RequestInfo>` | ExecutorQueryService.`getPendingRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getPendingRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getQueuedRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getQueuedRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorQueryService.`getRequestByBusinessKey​(String businessKey, 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>` | ExecutorQueryService.`getRequestByCommand​(String command, QueryContext queryContext)` | Returns requests that are scheduled to run given command
    `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>` | ExecutorService.`getRequestsByBusinessKey​(String businessKey, 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>` | ExecutorService.`getRequestsByCommand​(String command, 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)` |
    `List<RequestInfo>` | ExecutorQueryService.`getRunningRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorService.`getRunningRequests​(QueryContext queryContext)` |
    `List<RequestInfo>` | ExecutorStoreService.`loadRequests()` |

    Methods in org.kie.api.executor with parameters of type RequestInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ExecutorStoreService.`persistRequest​(RequestInfo request, Consumer<Object> function)` |
    `void` | ExecutorStoreService.`updateRequest​(RequestInfo request, Consumer<Object> function)` |