Interface SetJobRetriesByProcessAsyncBuilder
-
- All Superinterfaces:
SetJobRetriesAsyncBuilder
- All Known Implementing Classes:
SetJobRetriesByProcessAsyncBuilderImpl
public interface SetJobRetriesByProcessAsyncBuilder extends SetJobRetriesAsyncBuilder
Fluent builder to update the number of retries for one or multiple jobs referenced by process asynchronously.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetJobRetriesByProcessAsyncBuilder
historicProcessInstanceQuery(HistoricProcessInstanceQuery query)
Specifies a historic process instance query that identifies runtime process instances with jobs that have to be modified.SetJobRetriesByProcessAsyncBuilder
processInstanceIds(List<String> processInstanceIds)
Specifies a list of process instance ids.SetJobRetriesByProcessAsyncBuilder
processInstanceQuery(ProcessInstanceQuery query)
Specifies a process instance query.-
Methods inherited from interface org.camunda.bpm.engine.management.SetJobRetriesAsyncBuilder
dueDate, executeAsync
-
-
-
-
Method Detail
-
processInstanceIds
SetJobRetriesByProcessAsyncBuilder processInstanceIds(List<String> processInstanceIds)
Specifies a list of process instance ids. All jobs belonging to those process instances will be updated. If this method is called together with more methods referencing jobs, the builder will operate on the jobs referenced by all. If no method referencing jobs is called, aProcessEngineException
is thrown onSetJobRetriesAsyncBuilder.executeAsync()
.- Parameters:
processInstanceIds
- the list of process instance ids- Returns:
- the builder instance
- See Also:
ManagementService.setJobRetriesAsync(List, ProcessInstanceQuery, int)
-
processInstanceQuery
SetJobRetriesByProcessAsyncBuilder processInstanceQuery(ProcessInstanceQuery query)
Specifies a process instance query. All jobs belonging to those process instances will be updated. If this method is called together with more methods referencing jobs, the builder will operate on the jobs referenced by all. If no method referencing jobs is called, aProcessEngineException
is thrown onSetJobRetriesAsyncBuilder.executeAsync()
.- Parameters:
query
- the process instance query- Returns:
- the builder instance
- See Also:
ManagementService.setJobRetriesAsync(List, ProcessInstanceQuery, int)
-
historicProcessInstanceQuery
SetJobRetriesByProcessAsyncBuilder historicProcessInstanceQuery(HistoricProcessInstanceQuery query)
Specifies a historic process instance query that identifies runtime process instances with jobs that have to be modified. All jobs belonging to those process instances will be updated. If this method is called together with more methods referencing jobs, the builder will operate on the jobs referenced by all. If no method referencing jobs is called, aProcessEngineException
is thrown onSetJobRetriesAsyncBuilder.executeAsync()
.- Parameters:
query
- the historic process instance- Returns:
- the builder instance
- See Also:
ManagementService.setJobRetriesAsync(List, ProcessInstanceQuery, HistoricProcessInstanceQuery, int)
-
-