public class ExternalTaskApi extends Object
Constructor and Description |
---|
ExternalTaskApi() |
ExternalTaskApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
completeExternalTaskResource(String id,
CompleteExternalTaskDto completeExternalTaskDto)
Completes an external task by id and updates process variables.
|
okhttp3.Call |
completeExternalTaskResourceAsync(String id,
CompleteExternalTaskDto completeExternalTaskDto,
ApiCallback<Void> _callback)
(asynchronously)
Completes an external task by id and updates process variables.
|
okhttp3.Call |
completeExternalTaskResourceCall(String id,
CompleteExternalTaskDto completeExternalTaskDto,
ApiCallback _callback)
Build call for completeExternalTaskResource
|
ApiResponse<Void> |
completeExternalTaskResourceWithHttpInfo(String id,
CompleteExternalTaskDto completeExternalTaskDto)
Completes an external task by id and updates process variables.
|
void |
extendLock(String id,
ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto)
Extends the timeout of the lock by a given amount of time.
|
okhttp3.Call |
extendLockAsync(String id,
ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto,
ApiCallback<Void> _callback)
(asynchronously)
Extends the timeout of the lock by a given amount of time.
|
okhttp3.Call |
extendLockCall(String id,
ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto,
ApiCallback _callback)
Build call for extendLock
|
ApiResponse<Void> |
extendLockWithHttpInfo(String id,
ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto)
Extends the timeout of the lock by a given amount of time.
|
List<LockedExternalTaskDto> |
fetchAndLock(FetchExternalTasksDto fetchExternalTasksDto)
Fetches and locks a specific number of external tasks for execution by a worker.
|
okhttp3.Call |
fetchAndLockAsync(FetchExternalTasksDto fetchExternalTasksDto,
ApiCallback<List<LockedExternalTaskDto>> _callback)
(asynchronously)
Fetches and locks a specific number of external tasks for execution by a worker.
|
okhttp3.Call |
fetchAndLockCall(FetchExternalTasksDto fetchExternalTasksDto,
ApiCallback _callback)
Build call for fetchAndLock
|
ApiResponse<List<LockedExternalTaskDto>> |
fetchAndLockWithHttpInfo(FetchExternalTasksDto fetchExternalTasksDto)
Fetches and locks a specific number of external tasks for execution by a worker.
|
ApiClient |
getApiClient() |
ExternalTaskDto |
getExternalTask(String id)
Retrieves an external task by id, corresponding to the `ExternalTask` interface in the engine.
|
okhttp3.Call |
getExternalTaskAsync(String id,
ApiCallback<ExternalTaskDto> _callback)
(asynchronously)
Retrieves an external task by id, corresponding to the `ExternalTask` interface in the engine.
|
okhttp3.Call |
getExternalTaskCall(String id,
ApiCallback _callback)
Build call for getExternalTask
|
String |
getExternalTaskErrorDetails(String id)
Retrieves the error details in the context of a running external task by id.
|
okhttp3.Call |
getExternalTaskErrorDetailsAsync(String id,
ApiCallback<String> _callback)
(asynchronously)
Retrieves the error details in the context of a running external task by id.
|
okhttp3.Call |
getExternalTaskErrorDetailsCall(String id,
ApiCallback _callback)
Build call for getExternalTaskErrorDetails
|
ApiResponse<String> |
getExternalTaskErrorDetailsWithHttpInfo(String id)
Retrieves the error details in the context of a running external task by id.
|
List<ExternalTaskDto> |
getExternalTasks(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults)
Queries for the external tasks that fulfill given parameters.
|
okhttp3.Call |
getExternalTasksAsync(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
ApiCallback<List<ExternalTaskDto>> _callback)
(asynchronously)
Queries for the external tasks that fulfill given parameters.
|
okhttp3.Call |
getExternalTasksCall(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
ApiCallback _callback)
Build call for getExternalTasks
|
CountResultDto |
getExternalTasksCount(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals)
Queries for the number of external tasks that fulfill given parameters.
|
okhttp3.Call |
getExternalTasksCountAsync(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals,
ApiCallback<CountResultDto> _callback)
(asynchronously)
Queries for the number of external tasks that fulfill given parameters.
|
okhttp3.Call |
getExternalTasksCountCall(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals,
ApiCallback _callback)
Build call for getExternalTasksCount
|
ApiResponse<CountResultDto> |
getExternalTasksCountWithHttpInfo(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals)
Queries for the number of external tasks that fulfill given parameters.
|
ApiResponse<List<ExternalTaskDto>> |
getExternalTasksWithHttpInfo(String externalTaskId,
String externalTaskIdIn,
String topicName,
String workerId,
Boolean locked,
Boolean notLocked,
Boolean withRetriesLeft,
Boolean noRetriesLeft,
Date lockExpirationAfter,
Date lockExpirationBefore,
String activityId,
String activityIdIn,
String executionId,
String processInstanceId,
String processInstanceIdIn,
String processDefinitionId,
String tenantIdIn,
Boolean active,
Boolean suspended,
Long priorityHigherThanOrEquals,
Long priorityLowerThanOrEquals,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults)
Queries for the external tasks that fulfill given parameters.
|
ApiResponse<ExternalTaskDto> |
getExternalTaskWithHttpInfo(String id)
Retrieves an external task by id, corresponding to the `ExternalTask` interface in the engine.
|
List<String> |
getTopicNames(Boolean withLockedTasks,
Boolean withUnlockedTasks,
Boolean withRetriesLeft)
Queries for distinct topic names of external tasks that fulfill given parameters.
|
okhttp3.Call |
getTopicNamesAsync(Boolean withLockedTasks,
Boolean withUnlockedTasks,
Boolean withRetriesLeft,
ApiCallback<List<String>> _callback)
(asynchronously)
Queries for distinct topic names of external tasks that fulfill given parameters.
|
okhttp3.Call |
getTopicNamesCall(Boolean withLockedTasks,
Boolean withUnlockedTasks,
Boolean withRetriesLeft,
ApiCallback _callback)
Build call for getTopicNames
|
ApiResponse<List<String>> |
getTopicNamesWithHttpInfo(Boolean withLockedTasks,
Boolean withUnlockedTasks,
Boolean withRetriesLeft)
Queries for distinct topic names of external tasks that fulfill given parameters.
|
void |
handleExternalTaskBpmnError(String id,
ExternalTaskBpmnError externalTaskBpmnError)
Reports a business error in the context of a running external task by id.
|
okhttp3.Call |
handleExternalTaskBpmnErrorAsync(String id,
ExternalTaskBpmnError externalTaskBpmnError,
ApiCallback<Void> _callback)
(asynchronously)
Reports a business error in the context of a running external task by id.
|
okhttp3.Call |
handleExternalTaskBpmnErrorCall(String id,
ExternalTaskBpmnError externalTaskBpmnError,
ApiCallback _callback)
Build call for handleExternalTaskBpmnError
|
ApiResponse<Void> |
handleExternalTaskBpmnErrorWithHttpInfo(String id,
ExternalTaskBpmnError externalTaskBpmnError)
Reports a business error in the context of a running external task by id.
|
void |
handleFailure(String id,
ExternalTaskFailureDto externalTaskFailureDto)
Reports a failure to execute an external task by id.
|
okhttp3.Call |
handleFailureAsync(String id,
ExternalTaskFailureDto externalTaskFailureDto,
ApiCallback<Void> _callback)
(asynchronously)
Reports a failure to execute an external task by id.
|
okhttp3.Call |
handleFailureCall(String id,
ExternalTaskFailureDto externalTaskFailureDto,
ApiCallback _callback)
Build call for handleFailure
|
ApiResponse<Void> |
handleFailureWithHttpInfo(String id,
ExternalTaskFailureDto externalTaskFailureDto)
Reports a failure to execute an external task by id.
|
List<ExternalTaskDto> |
queryExternalTasks(Integer firstResult,
Integer maxResults,
ExternalTaskQueryDto externalTaskQueryDto)
Queries for external tasks that fulfill given parameters in the form of a JSON object.
|
okhttp3.Call |
queryExternalTasksAsync(Integer firstResult,
Integer maxResults,
ExternalTaskQueryDto externalTaskQueryDto,
ApiCallback<List<ExternalTaskDto>> _callback)
(asynchronously)
Queries for external tasks that fulfill given parameters in the form of a JSON object.
|
okhttp3.Call |
queryExternalTasksCall(Integer firstResult,
Integer maxResults,
ExternalTaskQueryDto externalTaskQueryDto,
ApiCallback _callback)
Build call for queryExternalTasks
|
CountResultDto |
queryExternalTasksCount(ExternalTaskQueryDto externalTaskQueryDto)
Queries for the number of external tasks that fulfill given parameters.
|
okhttp3.Call |
queryExternalTasksCountAsync(ExternalTaskQueryDto externalTaskQueryDto,
ApiCallback<CountResultDto> _callback)
(asynchronously)
Queries for the number of external tasks that fulfill given parameters.
|
okhttp3.Call |
queryExternalTasksCountCall(ExternalTaskQueryDto externalTaskQueryDto,
ApiCallback _callback)
Build call for queryExternalTasksCount
|
ApiResponse<CountResultDto> |
queryExternalTasksCountWithHttpInfo(ExternalTaskQueryDto externalTaskQueryDto)
Queries for the number of external tasks that fulfill given parameters.
|
ApiResponse<List<ExternalTaskDto>> |
queryExternalTasksWithHttpInfo(Integer firstResult,
Integer maxResults,
ExternalTaskQueryDto externalTaskQueryDto)
Queries for external tasks that fulfill given parameters in the form of a JSON object.
|
void |
setApiClient(ApiClient apiClient) |
void |
setExternalTaskResourcePriority(String id,
PriorityDto priorityDto)
Sets the priority of an existing external task by id.
|
okhttp3.Call |
setExternalTaskResourcePriorityAsync(String id,
PriorityDto priorityDto,
ApiCallback<Void> _callback)
(asynchronously)
Sets the priority of an existing external task by id.
|
okhttp3.Call |
setExternalTaskResourcePriorityCall(String id,
PriorityDto priorityDto,
ApiCallback _callback)
Build call for setExternalTaskResourcePriority
|
ApiResponse<Void> |
setExternalTaskResourcePriorityWithHttpInfo(String id,
PriorityDto priorityDto)
Sets the priority of an existing external task by id.
|
void |
setExternalTaskResourceRetries(String id,
RetriesDto retriesDto)
Sets the number of retries left to execute an external task by id.
|
okhttp3.Call |
setExternalTaskResourceRetriesAsync(String id,
RetriesDto retriesDto,
ApiCallback<Void> _callback)
(asynchronously)
Sets the number of retries left to execute an external task by id.
|
okhttp3.Call |
setExternalTaskResourceRetriesCall(String id,
RetriesDto retriesDto,
ApiCallback _callback)
Build call for setExternalTaskResourceRetries
|
ApiResponse<Void> |
setExternalTaskResourceRetriesWithHttpInfo(String id,
RetriesDto retriesDto)
Sets the number of retries left to execute an external task by id.
|
void |
setExternalTaskRetries(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto)
Sets the number of retries left to execute external tasks by id synchronously.
|
okhttp3.Call |
setExternalTaskRetriesAsync(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto,
ApiCallback<Void> _callback)
(asynchronously)
Sets the number of retries left to execute external tasks by id synchronously.
|
BatchDto |
setExternalTaskRetriesAsyncOperation(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto)
Sets the number of retries left to execute external tasks by id asynchronously.
|
okhttp3.Call |
setExternalTaskRetriesAsyncOperationAsync(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto,
ApiCallback<BatchDto> _callback)
(asynchronously)
Sets the number of retries left to execute external tasks by id asynchronously.
|
okhttp3.Call |
setExternalTaskRetriesAsyncOperationCall(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto,
ApiCallback _callback)
Build call for setExternalTaskRetriesAsyncOperation
|
ApiResponse<BatchDto> |
setExternalTaskRetriesAsyncOperationWithHttpInfo(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto)
Sets the number of retries left to execute external tasks by id asynchronously.
|
okhttp3.Call |
setExternalTaskRetriesCall(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto,
ApiCallback _callback)
Build call for setExternalTaskRetries
|
ApiResponse<Void> |
setExternalTaskRetriesWithHttpInfo(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto)
Sets the number of retries left to execute external tasks by id synchronously.
|
void |
unlock(String id)
Unlocks an external task by id.
|
okhttp3.Call |
unlockAsync(String id,
ApiCallback<Void> _callback)
(asynchronously)
Unlocks an external task by id.
|
okhttp3.Call |
unlockCall(String id,
ApiCallback _callback)
Build call for unlock
|
ApiResponse<Void> |
unlockWithHttpInfo(String id)
Unlocks an external task by id.
|
public ExternalTaskApi()
public ExternalTaskApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call completeExternalTaskResourceCall(String id, CompleteExternalTaskDto completeExternalTaskDto, ApiCallback _callback) throws ApiException
id
- The id of the task to complete. (required)completeExternalTaskDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void completeExternalTaskResource(String id, CompleteExternalTaskDto completeExternalTaskDto) throws ApiException
id
- The id of the task to complete. (required)completeExternalTaskDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> completeExternalTaskResourceWithHttpInfo(String id, CompleteExternalTaskDto completeExternalTaskDto) throws ApiException
id
- The id of the task to complete. (required)completeExternalTaskDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call completeExternalTaskResourceAsync(String id, CompleteExternalTaskDto completeExternalTaskDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the task to complete. (required)completeExternalTaskDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call extendLockCall(String id, ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto, ApiCallback _callback) throws ApiException
id
- The id of the external task. (required)extendLockOnExternalTaskDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void extendLock(String id, ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto) throws ApiException
id
- The id of the external task. (required)extendLockOnExternalTaskDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> extendLockWithHttpInfo(String id, ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto) throws ApiException
id
- The id of the external task. (required)extendLockOnExternalTaskDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call extendLockAsync(String id, ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the external task. (required)extendLockOnExternalTaskDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call fetchAndLockCall(FetchExternalTasksDto fetchExternalTasksDto, ApiCallback _callback) throws ApiException
fetchExternalTasksDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<LockedExternalTaskDto> fetchAndLock(FetchExternalTasksDto fetchExternalTasksDto) throws ApiException
fetchExternalTasksDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<LockedExternalTaskDto>> fetchAndLockWithHttpInfo(FetchExternalTasksDto fetchExternalTasksDto) throws ApiException
fetchExternalTasksDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call fetchAndLockAsync(FetchExternalTasksDto fetchExternalTasksDto, ApiCallback<List<LockedExternalTaskDto>> _callback) throws ApiException
fetchExternalTasksDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getExternalTaskCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the external task to be retrieved. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ExternalTaskDto getExternalTask(String id) throws ApiException
id
- The id of the external task to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ExternalTaskDto> getExternalTaskWithHttpInfo(String id) throws ApiException
id
- The id of the external task to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getExternalTaskAsync(String id, ApiCallback<ExternalTaskDto> _callback) throws ApiException
id
- The id of the external task to be retrieved. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getExternalTaskErrorDetailsCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the external task for which the error details should be retrieved. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic String getExternalTaskErrorDetails(String id) throws ApiException
id
- The id of the external task for which the error details should be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> getExternalTaskErrorDetailsWithHttpInfo(String id) throws ApiException
id
- The id of the external task for which the error details should be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getExternalTaskErrorDetailsAsync(String id, ApiCallback<String> _callback) throws ApiException
id
- The id of the external task for which the error details should be retrieved. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getExternalTasksCall(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, ApiCallback _callback) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<ExternalTaskDto> getExternalTasks(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ExternalTaskDto>> getExternalTasksWithHttpInfo(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getExternalTasksAsync(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, ApiCallback<List<ExternalTaskDto>> _callback) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getExternalTasksCountCall(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals, ApiCallback _callback) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto getExternalTasksCount(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> getExternalTasksCountWithHttpInfo(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getExternalTasksCountAsync(String externalTaskId, String externalTaskIdIn, String topicName, String workerId, Boolean locked, Boolean notLocked, Boolean withRetriesLeft, Boolean noRetriesLeft, Date lockExpirationAfter, Date lockExpirationBefore, String activityId, String activityIdIn, String executionId, String processInstanceId, String processInstanceIdIn, String processDefinitionId, String tenantIdIn, Boolean active, Boolean suspended, Long priorityHigherThanOrEquals, Long priorityLowerThanOrEquals, ApiCallback<CountResultDto> _callback) throws ApiException
externalTaskId
- Filter by an external task's id. (optional)externalTaskIdIn
- Filter by the comma-separated list of external task ids. (optional)topicName
- Filter by an external task topic. (optional)workerId
- Filter by the id of the worker that the task was most recently locked by. (optional)locked
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)notLocked
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)noRetriesLeft
- Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task. (optional)lockExpirationAfter
- Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)lockExpirationBefore
- Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.13/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)activityId
- Filter by the id of the activity that an external task is created for. (optional)activityIdIn
- Filter by the comma-separated list of ids of the activities that an external task is created for. (optional)executionId
- Filter by the id of the execution that an external task belongs to. (optional)processInstanceId
- Filter by the id of the process instance that an external task belongs to. (optional)processInstanceIdIn
- Filter by a comma-separated list of process instance ids that an external task may belong to. (optional)processDefinitionId
- Filter by the id of the process definition that an external task belongs to. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids. (optional)active
- Only include active tasks. Value may only be `true`, as `false` matches any external task. (optional)suspended
- Only include suspended tasks. Value may only be `true`, as `false` matches any external task. (optional)priorityHigherThanOrEquals
- Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value. (optional)priorityLowerThanOrEquals
- Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getTopicNamesCall(Boolean withLockedTasks, Boolean withUnlockedTasks, Boolean withRetriesLeft, ApiCallback _callback) throws ApiException
withLockedTasks
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)withUnlockedTasks
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<String> getTopicNames(Boolean withLockedTasks, Boolean withUnlockedTasks, Boolean withRetriesLeft) throws ApiException
withLockedTasks
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)withUnlockedTasks
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<String>> getTopicNamesWithHttpInfo(Boolean withLockedTasks, Boolean withUnlockedTasks, Boolean withRetriesLeft) throws ApiException
withLockedTasks
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)withUnlockedTasks
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getTopicNamesAsync(Boolean withLockedTasks, Boolean withUnlockedTasks, Boolean withRetriesLeft, ApiCallback<List<String>> _callback) throws ApiException
withLockedTasks
- Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task. (optional)withUnlockedTasks
- Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task. (optional)withRetriesLeft
- Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call handleExternalTaskBpmnErrorCall(String id, ExternalTaskBpmnError externalTaskBpmnError, ApiCallback _callback) throws ApiException
id
- The id of the external task in which context a BPMN error is reported. (required)externalTaskBpmnError
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void handleExternalTaskBpmnError(String id, ExternalTaskBpmnError externalTaskBpmnError) throws ApiException
id
- The id of the external task in which context a BPMN error is reported. (required)externalTaskBpmnError
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> handleExternalTaskBpmnErrorWithHttpInfo(String id, ExternalTaskBpmnError externalTaskBpmnError) throws ApiException
id
- The id of the external task in which context a BPMN error is reported. (required)externalTaskBpmnError
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call handleExternalTaskBpmnErrorAsync(String id, ExternalTaskBpmnError externalTaskBpmnError, ApiCallback<Void> _callback) throws ApiException
id
- The id of the external task in which context a BPMN error is reported. (required)externalTaskBpmnError
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call handleFailureCall(String id, ExternalTaskFailureDto externalTaskFailureDto, ApiCallback _callback) throws ApiException
id
- The id of the external task to report a failure for. (required)externalTaskFailureDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void handleFailure(String id, ExternalTaskFailureDto externalTaskFailureDto) throws ApiException
id
- The id of the external task to report a failure for. (required)externalTaskFailureDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> handleFailureWithHttpInfo(String id, ExternalTaskFailureDto externalTaskFailureDto) throws ApiException
id
- The id of the external task to report a failure for. (required)externalTaskFailureDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call handleFailureAsync(String id, ExternalTaskFailureDto externalTaskFailureDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the external task to report a failure for. (required)externalTaskFailureDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call queryExternalTasksCall(Integer firstResult, Integer maxResults, ExternalTaskQueryDto externalTaskQueryDto, ApiCallback _callback) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)externalTaskQueryDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<ExternalTaskDto> queryExternalTasks(Integer firstResult, Integer maxResults, ExternalTaskQueryDto externalTaskQueryDto) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)externalTaskQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ExternalTaskDto>> queryExternalTasksWithHttpInfo(Integer firstResult, Integer maxResults, ExternalTaskQueryDto externalTaskQueryDto) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)externalTaskQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call queryExternalTasksAsync(Integer firstResult, Integer maxResults, ExternalTaskQueryDto externalTaskQueryDto, ApiCallback<List<ExternalTaskDto>> _callback) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)externalTaskQueryDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call queryExternalTasksCountCall(ExternalTaskQueryDto externalTaskQueryDto, ApiCallback _callback) throws ApiException
externalTaskQueryDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto queryExternalTasksCount(ExternalTaskQueryDto externalTaskQueryDto) throws ApiException
externalTaskQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> queryExternalTasksCountWithHttpInfo(ExternalTaskQueryDto externalTaskQueryDto) throws ApiException
externalTaskQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call queryExternalTasksCountAsync(ExternalTaskQueryDto externalTaskQueryDto, ApiCallback<CountResultDto> _callback) throws ApiException
externalTaskQueryDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call setExternalTaskResourcePriorityCall(String id, PriorityDto priorityDto, ApiCallback _callback) throws ApiException
id
- The id of the external task to set the priority for. (required)priorityDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void setExternalTaskResourcePriority(String id, PriorityDto priorityDto) throws ApiException
id
- The id of the external task to set the priority for. (required)priorityDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> setExternalTaskResourcePriorityWithHttpInfo(String id, PriorityDto priorityDto) throws ApiException
id
- The id of the external task to set the priority for. (required)priorityDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call setExternalTaskResourcePriorityAsync(String id, PriorityDto priorityDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the external task to set the priority for. (required)priorityDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call setExternalTaskResourceRetriesCall(String id, RetriesDto retriesDto, ApiCallback _callback) throws ApiException
id
- The id of the external task to set the number of retries for. (required)retriesDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void setExternalTaskResourceRetries(String id, RetriesDto retriesDto) throws ApiException
id
- The id of the external task to set the number of retries for. (required)retriesDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> setExternalTaskResourceRetriesWithHttpInfo(String id, RetriesDto retriesDto) throws ApiException
id
- The id of the external task to set the number of retries for. (required)retriesDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call setExternalTaskResourceRetriesAsync(String id, RetriesDto retriesDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the external task to set the number of retries for. (required)retriesDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call setExternalTaskRetriesCall(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto, ApiCallback _callback) throws ApiException
setRetriesForExternalTasksDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void setExternalTaskRetries(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto) throws ApiException
setRetriesForExternalTasksDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> setExternalTaskRetriesWithHttpInfo(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto) throws ApiException
setRetriesForExternalTasksDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call setExternalTaskRetriesAsync(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto, ApiCallback<Void> _callback) throws ApiException
setRetriesForExternalTasksDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call setExternalTaskRetriesAsyncOperationCall(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto, ApiCallback _callback) throws ApiException
setRetriesForExternalTasksDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic BatchDto setExternalTaskRetriesAsyncOperation(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto) throws ApiException
setRetriesForExternalTasksDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BatchDto> setExternalTaskRetriesAsyncOperationWithHttpInfo(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto) throws ApiException
setRetriesForExternalTasksDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call setExternalTaskRetriesAsyncOperationAsync(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto, ApiCallback<BatchDto> _callback) throws ApiException
setRetriesForExternalTasksDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call unlockCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the external task to unlock. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void unlock(String id) throws ApiException
id
- The id of the external task to unlock. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unlockWithHttpInfo(String id) throws ApiException
id
- The id of the external task to unlock. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call unlockAsync(String id, ApiCallback<Void> _callback) throws ApiException
id
- The id of the external task to unlock. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2021. All rights reserved.