public class UpdateExternalTaskRetriesBuilderImpl extends Object implements UpdateExternalTaskRetriesBuilder
Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected List<String> |
externalTaskIds |
protected ExternalTaskQuery |
externalTaskQuery |
protected HistoricProcessInstanceQuery |
historicProcessInstanceQuery |
protected List<String> |
processInstanceIds |
protected ProcessInstanceQuery |
processInstanceQuery |
protected int |
retries |
Constructor and Description |
---|
UpdateExternalTaskRetriesBuilderImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
UpdateExternalTaskRetriesBuilder |
externalTaskIds(List<String> externalTaskIds)
Selects a list of external tasks with the given list of ids.
|
UpdateExternalTaskRetriesBuilder |
externalTaskIds(String... externalTaskIds)
Selects a list of external tasks with the given list of ids.
|
UpdateExternalTaskRetriesBuilder |
externalTaskQuery(ExternalTaskQuery externalTaskQuery)
Selects a list of external tasks with the given external task query.
|
List<String> |
getExternalTaskIds() |
ExternalTaskQuery |
getExternalTaskQuery() |
HistoricProcessInstanceQuery |
getHistoricProcessInstanceQuery() |
List<String> |
getProcessInstanceIds() |
ProcessInstanceQuery |
getProcessInstanceQuery() |
int |
getRetries() |
UpdateExternalTaskRetriesBuilder |
historicProcessInstanceQuery(HistoricProcessInstanceQuery historicProcessInstanceQuery)
Selects a list of external tasks with the given historic process instance query.
|
UpdateExternalTaskRetriesBuilder |
processInstanceIds(List<String> processInstanceIds)
Selects a list of external tasks with the given list of process instances ids.
|
UpdateExternalTaskRetriesBuilder |
processInstanceIds(String... processInstanceIds)
Selects a list of external tasks with the given list of process instances ids.
|
UpdateExternalTaskRetriesBuilder |
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.
|
Batch |
setAsync(int retries)
Sets the retries for external tasks asynchronously as batch.
|
protected CommandExecutor commandExecutor
protected ExternalTaskQuery externalTaskQuery
protected ProcessInstanceQuery processInstanceQuery
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
protected int retries
public UpdateExternalTaskRetriesBuilderImpl(CommandExecutor commandExecutor)
public UpdateExternalTaskRetriesBuilder externalTaskIds(List<String> externalTaskIds)
UpdateExternalTaskRetriesSelectBuilder
externalTaskIds
in interface UpdateExternalTaskRetriesSelectBuilder
public UpdateExternalTaskRetriesBuilder externalTaskIds(String... externalTaskIds)
UpdateExternalTaskRetriesSelectBuilder
externalTaskIds
in interface UpdateExternalTaskRetriesSelectBuilder
public UpdateExternalTaskRetriesBuilder processInstanceIds(List<String> processInstanceIds)
UpdateExternalTaskRetriesSelectBuilder
processInstanceIds
in interface UpdateExternalTaskRetriesSelectBuilder
public UpdateExternalTaskRetriesBuilder processInstanceIds(String... processInstanceIds)
UpdateExternalTaskRetriesSelectBuilder
processInstanceIds
in interface UpdateExternalTaskRetriesSelectBuilder
public UpdateExternalTaskRetriesBuilder externalTaskQuery(ExternalTaskQuery externalTaskQuery)
UpdateExternalTaskRetriesSelectBuilder
externalTaskQuery
in interface UpdateExternalTaskRetriesSelectBuilder
public UpdateExternalTaskRetriesBuilder processInstanceQuery(ProcessInstanceQuery processInstanceQuery)
UpdateExternalTaskRetriesSelectBuilder
processInstanceQuery
in interface UpdateExternalTaskRetriesSelectBuilder
public UpdateExternalTaskRetriesBuilder historicProcessInstanceQuery(HistoricProcessInstanceQuery historicProcessInstanceQuery)
UpdateExternalTaskRetriesSelectBuilder
historicProcessInstanceQuery
in interface UpdateExternalTaskRetriesSelectBuilder
public void set(int retries)
UpdateExternalTaskRetriesBuilder
null
message is created.
If the old value is 0 and the new value is greater than 0, an existing incident
is resolved.set
in interface UpdateExternalTaskRetriesBuilder
public Batch setAsync(int retries)
UpdateExternalTaskRetriesBuilder
null
message is created.
If the old value is 0 and the new value is greater than 0, an existing incident
is resolved.setAsync
in interface UpdateExternalTaskRetriesBuilder
public int getRetries()
public ExternalTaskQuery getExternalTaskQuery()
public ProcessInstanceQuery getProcessInstanceQuery()
public HistoricProcessInstanceQuery getHistoricProcessInstanceQuery()
Copyright © 2019. All rights reserved.