## 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 and Description
    --- | ---
    `RequestInfo` | ExecutorStoreService.`findRequest(Long id)`
    `RequestInfo` | ExecutorService.`getRequestById(Long requestId)`
    `RequestInfo` | ExecutorQueryService.`getRequestById(Long id)` Returns request identified by `id` regardless of its status
    `RequestInfo` | ExecutorQueryService.`getRequestForProcessing()` Dedicated method for handling special case that is get the request for processing.
    `RequestInfo` | ExecutorStoreService.`removeRequest(Long requestId)`

    Methods in org.kie.api.executor that return types with arguments of type RequestInfo
    Modifier and Type | Method and Description
    --- | ---
    `List<RequestInfo>` | ExecutorService.`getAllRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getAllRequests(QueryContext queryContext)` Returns all requests
    `List<RequestInfo>` | ExecutorService.`getCancelledRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getCancelledRequests(QueryContext queryContext)` Returns all requests that were cancelled
    `List<RequestInfo>` | ExecutorService.`getCompletedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getCompletedRequests(QueryContext queryContext)` Returns all comleted requests.
    `List<RequestInfo>` | ExecutorService.`getFutureQueuedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getFutureQueuedRequests(QueryContext queryContext)` Returns requests queued for future execution
    `List<RequestInfo>` | ExecutorService.`getInErrorRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getInErrorRequests(QueryContext queryContext)` Returns all requests that have errors.
    `List<RequestInfo>` | ExecutorService.`getPendingRequestById(Long id)`
    `List<RequestInfo>` | ExecutorQueryService.`getPendingRequestById(Long id)` Returns given pending request identified by `id`
    `List<RequestInfo>` | ExecutorService.`getPendingRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getPendingRequests(QueryContext queryContext)` Returns list of pending execution requests.
    `List<RequestInfo>` | ExecutorService.`getQueuedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getQueuedRequests(QueryContext queryContext)` Returns all queued requests
    `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 configured with given `command`
    `List<RequestInfo>` | ExecutorService.`getRequestsByBusinessKey(String businessKey, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getRequestsByCommand(String command, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)` Returns requests based on their status
    `List<RequestInfo>` | ExecutorService.`getRunningRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRunningRequests(QueryContext queryContext)` Returns all currently running requests

    Methods in org.kie.api.executor with parameters of type RequestInfo
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExecutorStoreService.`persistRequest(RequestInfo request)`
    `void` | ExecutorStoreService.`updateRequest(RequestInfo request)`

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