Package org.camunda.bpm.engine.impl.cmd
Class UpdateExternalTaskRetriesBuilderImpl
java.lang.Object
org.camunda.bpm.engine.impl.cmd.UpdateExternalTaskRetriesBuilderImpl
- All Implemented Interfaces:
UpdateExternalTaskRetriesBuilder
,UpdateExternalTaskRetriesSelectBuilder
public class UpdateExternalTaskRetriesBuilderImpl
extends Object
implements UpdateExternalTaskRetriesBuilder
- Author:
- smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommandExecutor
protected ExternalTaskQuery
protected HistoricProcessInstanceQuery
protected ProcessInstanceQuery
protected int
-
Constructor Summary
ConstructorDescriptionUpdateExternalTaskRetriesBuilderImpl
(List<String> externalTaskIds, int retries) UpdateExternalTaskRetriesBuilderImpl
(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionexternalTaskIds
(String... externalTaskIds) Selects a list of external tasks with the given list of ids.externalTaskIds
(List<String> externalTaskIds) Selects a list of external tasks with the given list of ids.externalTaskQuery
(ExternalTaskQuery externalTaskQuery) Selects a list of external tasks with the given external task query.int
historicProcessInstanceQuery
(HistoricProcessInstanceQuery historicProcessInstanceQuery) Selects a list of external tasks with the given historic process instance query.processInstanceIds
(String... processInstanceIds) Selects a list of external tasks with the given list of process instances ids.processInstanceIds
(List<String> processInstanceIds) Selects a list of external tasks with the given list of process instances ids.processInstanceQuery
(ProcessInstanceQuery processInstanceQuery) Selects a list of external tasks with the given process instance query.void
set
(int retries) Sets the retries for external tasks.setAsync
(int retries) Sets the retries for external tasks asynchronously as batch.
-
Field Details
-
commandExecutor
-
externalTaskIds
-
processInstanceIds
-
externalTaskQuery
-
processInstanceQuery
-
historicProcessInstanceQuery
-
retries
protected int retries
-
-
Constructor Details
-
UpdateExternalTaskRetriesBuilderImpl
-
UpdateExternalTaskRetriesBuilderImpl
-
-
Method Details
-
externalTaskIds
Description copied from interface:UpdateExternalTaskRetriesSelectBuilder
Selects a list of external tasks with the given list of ids.- Specified by:
externalTaskIds
in interfaceUpdateExternalTaskRetriesSelectBuilder
-
externalTaskIds
Description copied from interface:UpdateExternalTaskRetriesSelectBuilder
Selects a list of external tasks with the given list of ids.- Specified by:
externalTaskIds
in interfaceUpdateExternalTaskRetriesSelectBuilder
-
processInstanceIds
Description copied from interface:UpdateExternalTaskRetriesSelectBuilder
Selects a list of external tasks with the given list of process instances ids.- Specified by:
processInstanceIds
in interfaceUpdateExternalTaskRetriesSelectBuilder
-
processInstanceIds
Description copied from interface:UpdateExternalTaskRetriesSelectBuilder
Selects a list of external tasks with the given list of process instances ids.- Specified by:
processInstanceIds
in interfaceUpdateExternalTaskRetriesSelectBuilder
-
externalTaskQuery
Description copied from interface:UpdateExternalTaskRetriesSelectBuilder
Selects a list of external tasks with the given external task query.- Specified by:
externalTaskQuery
in interfaceUpdateExternalTaskRetriesSelectBuilder
-
processInstanceQuery
public UpdateExternalTaskRetriesBuilder processInstanceQuery(ProcessInstanceQuery processInstanceQuery) Description copied from interface:UpdateExternalTaskRetriesSelectBuilder
Selects a list of external tasks with the given process instance query.- Specified by:
processInstanceQuery
in interfaceUpdateExternalTaskRetriesSelectBuilder
-
historicProcessInstanceQuery
public UpdateExternalTaskRetriesBuilder historicProcessInstanceQuery(HistoricProcessInstanceQuery historicProcessInstanceQuery) Description copied from interface:UpdateExternalTaskRetriesSelectBuilder
Selects a list of external tasks with the given historic process instance query.- Specified by:
historicProcessInstanceQuery
in interfaceUpdateExternalTaskRetriesSelectBuilder
-
set
public void set(int retries) Description copied from interface:UpdateExternalTaskRetriesBuilder
Sets the retries for external tasks. If the new value is 0, a new incident with anull
message is created. If the old value is 0 and the new value is greater than 0, an existing incident is resolved.- Specified by:
set
in interfaceUpdateExternalTaskRetriesBuilder
-
setAsync
Description copied from interface:UpdateExternalTaskRetriesBuilder
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 anull
message is created. If the old value is 0 and the new value is greater than 0, an existing incident is resolved.- Specified by:
setAsync
in interfaceUpdateExternalTaskRetriesBuilder
-
getRetries
public int getRetries() -
getExternalTaskIds
-
getProcessInstanceIds
-
getExternalTaskQuery
-
getProcessInstanceQuery
-
getHistoricProcessInstanceQuery
-