org.camunda.bpm.engine.externaltask
Interface UpdateExternalTaskRetriesBuilder

All Superinterfaces:
UpdateExternalTaskRetriesSelectBuilder
All Known Implementing Classes:
UpdateExternalTaskRetriesBuilderImpl

public interface UpdateExternalTaskRetriesBuilder
extends UpdateExternalTaskRetriesSelectBuilder


Method Summary
 void set(int retries)
          Sets the retries for external tasks.
 Batch setAsync(int retries)
          Sets the retries for external tasks asynchronously as batch.
 
Methods inherited from interface org.camunda.bpm.engine.externaltask.UpdateExternalTaskRetriesSelectBuilder
externalTaskIds, externalTaskIds, externalTaskQuery, historicProcessInstanceQuery, processInstanceIds, processInstanceIds, processInstanceQuery
 

Method Detail

set

void set(int retries)
Sets the retries for external tasks. If the new value is 0, a new incident with a null message 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:

setAsync

Batch 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 a null message 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.CREATE permission on Resources.BATCH.


Copyright © 2017 camunda services GmbH. All rights reserved.