public class ExternalTaskApi extends Object
Constructor and Description |
---|
ExternalTaskApi() |
ExternalTaskApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
completeExternalTaskResource(String id,
CompleteExternalTaskDto completeExternalTaskDto)
Complete
Completes an external task by id and updates process variables.
|
okhttp3.Call |
completeExternalTaskResourceAsync(String id,
CompleteExternalTaskDto completeExternalTaskDto,
ApiCallback<Void> _callback)
Complete (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)
Complete
Completes an external task by id and updates process variables.
|
void |
extendLock(String id,
ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto)
Extend Lock
Extends the timeout of the lock by a given amount of time.
|
okhttp3.Call |
extendLockAsync(String id,
ExtendLockOnExternalTaskDto extendLockOnExternalTaskDto,
ApiCallback<Void> _callback)
Extend Lock (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)
Extend Lock
Extends the timeout of the lock by a given amount of time.
|
List<LockedExternalTaskDto> |
fetchAndLock(FetchExternalTasksDto fetchExternalTasksDto)
Fetch and Lock
Fetches and locks a specific number of external tasks for execution by a worker.
|
okhttp3.Call |
fetchAndLockAsync(FetchExternalTasksDto fetchExternalTasksDto,
ApiCallback<List<LockedExternalTaskDto>> _callback)
Fetch and Lock (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)
Fetch and Lock
Fetches and locks a specific number of external tasks for execution by a worker.
|
ApiClient |
getApiClient() |
ExternalTaskDto |
getExternalTask(String id)
Get
Retrieves an external task by id, corresponding to the `ExternalTask` interface in the engine.
|
okhttp3.Call |
getExternalTaskAsync(String id,
ApiCallback<ExternalTaskDto> _callback)
Get (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)
Get Error Details
Retrieves the error details in the context of a running external task by id.
|
okhttp3.Call |
getExternalTaskErrorDetailsAsync(String id,
ApiCallback<String> _callback)
Get Error Details (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)
Get Error Details
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)
Get List
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)
Get List (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)
Get List Count
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)
Get List Count (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)
Get List Count
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)
Get List
Queries for the external tasks that fulfill given parameters.
|
ApiResponse<ExternalTaskDto> |
getExternalTaskWithHttpInfo(String id)
Get
Retrieves an external task by id, corresponding to the `ExternalTask` interface in the engine.
|
List<String> |
getTopicNames(Boolean withLockedTasks,
Boolean withUnlockedTasks,
Boolean withRetriesLeft)
Get External Task Topic Names
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)
Get External Task Topic Names (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)
Get External Task Topic Names
Queries for distinct topic names of external tasks that fulfill given parameters.
|
void |
handleExternalTaskBpmnError(String id,
ExternalTaskBpmnError externalTaskBpmnError)
Handle BPMN Error
Reports a business error in the context of a running external task by id.
|
okhttp3.Call |
handleExternalTaskBpmnErrorAsync(String id,
ExternalTaskBpmnError externalTaskBpmnError,
ApiCallback<Void> _callback)
Handle BPMN Error (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)
Handle BPMN Error
Reports a business error in the context of a running external task by id.
|
void |
handleFailure(String id,
ExternalTaskFailureDto externalTaskFailureDto)
Handle Failure
Reports a failure to execute an external task by id.
|
okhttp3.Call |
handleFailureAsync(String id,
ExternalTaskFailureDto externalTaskFailureDto,
ApiCallback<Void> _callback)
Handle Failure (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)
Handle Failure
Reports a failure to execute an external task by id.
|
void |
lock(String id,
LockExternalTaskDto lockExternalTaskDto)
Lock an external task by a given id for a specified worker and amount of time.
|
okhttp3.Call |
lockAsync(String id,
LockExternalTaskDto lockExternalTaskDto,
ApiCallback<Void> _callback)
(asynchronously)
Lock an external task by a given id for a specified worker and amount of time.
|
okhttp3.Call |
lockCall(String id,
LockExternalTaskDto lockExternalTaskDto,
ApiCallback _callback)
Build call for lock
|
ApiResponse<Void> |
lockWithHttpInfo(String id,
LockExternalTaskDto lockExternalTaskDto)
Lock an external task by a given id for a specified worker and amount of time.
|
List<ExternalTaskDto> |
queryExternalTasks(Integer firstResult,
Integer maxResults,
ExternalTaskQueryDto externalTaskQueryDto)
Get List (POST)
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)
Get List (POST) (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)
Get List Count (POST)
Queries for the number of external tasks that fulfill given parameters.
|
okhttp3.Call |
queryExternalTasksCountAsync(ExternalTaskQueryDto externalTaskQueryDto,
ApiCallback<CountResultDto> _callback)
Get List Count (POST) (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)
Get List Count (POST)
Queries for the number of external tasks that fulfill given parameters.
|
ApiResponse<List<ExternalTaskDto>> |
queryExternalTasksWithHttpInfo(Integer firstResult,
Integer maxResults,
ExternalTaskQueryDto externalTaskQueryDto)
Get List (POST)
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)
Set Priority
Sets the priority of an existing external task by id.
|
okhttp3.Call |
setExternalTaskResourcePriorityAsync(String id,
PriorityDto priorityDto,
ApiCallback<Void> _callback)
Set Priority (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)
Set Priority
Sets the priority of an existing external task by id.
|
void |
setExternalTaskResourceRetries(String id,
RetriesDto retriesDto)
Set Retries
Sets the number of retries left to execute an external task by id.
|
okhttp3.Call |
setExternalTaskResourceRetriesAsync(String id,
RetriesDto retriesDto,
ApiCallback<Void> _callback)
Set Retries (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)
Set Retries
Sets the number of retries left to execute an external task by id.
|
void |
setExternalTaskRetries(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto)
Set Retries Sync
Sets the number of retries left to execute external tasks by id synchronously.
|
okhttp3.Call |
setExternalTaskRetriesAsync(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto,
ApiCallback<Void> _callback)
Set Retries Sync (asynchronously)
Sets the number of retries left to execute external tasks by id synchronously.
|
BatchDto |
setExternalTaskRetriesAsyncOperation(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto)
Set Retries Async
Sets the number of retries left to execute external tasks by id asynchronously.
|
okhttp3.Call |
setExternalTaskRetriesAsyncOperationAsync(SetRetriesForExternalTasksDto setRetriesForExternalTasksDto,
ApiCallback<BatchDto> _callback)
Set Retries Async (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)
Set Retries Async
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)
Set Retries Sync
Sets the number of retries left to execute external tasks by id synchronously.
|
void |
unlock(String id)
Unlock
Unlocks an external task by id.
|
okhttp3.Call |
unlockAsync(String id,
ApiCallback<Void> _callback)
Unlock (asynchronously)
Unlocks an external task by id.
|
okhttp3.Call |
unlockCall(String id,
ApiCallback _callback)
Build call for unlock
|
ApiResponse<Void> |
unlockWithHttpInfo(String id)
Unlock
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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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.15/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 lockCall(String id, LockExternalTaskDto lockExternalTaskDto, ApiCallback _callback) throws ApiException
id
- The id of the external task. (required)lockExternalTaskDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void lock(String id, LockExternalTaskDto lockExternalTaskDto) throws ApiException
id
- The id of the external task. (required)lockExternalTaskDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> lockWithHttpInfo(String id, LockExternalTaskDto lockExternalTaskDto) throws ApiException
id
- The id of the external task. (required)lockExternalTaskDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call lockAsync(String id, LockExternalTaskDto lockExternalTaskDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the external task. (required)lockExternalTaskDto
- (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 © 2022. All rights reserved.