Interface UpdateExternalTaskRetriesBuilder
- 
- All Superinterfaces:
- UpdateExternalTaskRetriesSelectBuilder
 - All Known Implementing Classes:
- UpdateExternalTaskRetriesBuilderImpl
 
 public interface UpdateExternalTaskRetriesBuilder extends UpdateExternalTaskRetriesSelectBuilder 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidset(int retries)Sets the retries for external tasks.BatchsetAsync(int retries)Sets the retries for external tasks asynchronously as batch.- 
Methods inherited from interface org.camunda.bpm.engine.externaltask.UpdateExternalTaskRetriesSelectBuilderexternalTaskIds, externalTaskIds, externalTaskQuery, historicProcessInstanceQuery, processInstanceIds, processInstanceIds, processInstanceQuery
 
- 
 
- 
- 
- 
Method Detail- 
setvoid set(int retries) Sets the retries for external tasks. If the new value is 0, a new incident with anullmessage is created. If the old value is 0 and the new value is greater than 0, an existing incident is resolved.- Parameters:
- retries-
- Throws:
- BadUserRequestException- If no external tasks are found If a external task id is set to null
- AuthorizationException- thrown if the current user does not possess any of the following permissions:
- BadUserRequestException- When the affected instances count exceeds the maximum results limit. A maximum results limit can be specified with the process engine configuration property- queryMaxResultsLimit(default- Integer.MAX_VALUE). Please use the batch operation- setAsync(int)instead.
 
 - 
setAsyncBatch setAsync(int retries) Sets the retries for external tasks asynchronously as batch. The returned batch can be used to track the progress. If the new value is 0, a new incident with anullmessage is created. If the old value is 0 and the new value is greater than 0, an existing incident is resolved.- Parameters:
- retries-
- Throws:
- BadUserRequestException- If no external tasks are found or if a external task id is set to null
- AuthorizationException- if the user has no- Permissions.CREATEor- BatchPermissions.CREATE_BATCH_SET_EXTERNAL_TASK_RETRIESpermission on- Resources.BATCH.
 
 
- 
 
-