Interface SetJobRetriesByJobsAsyncBuilder
-
- All Superinterfaces:
SetJobRetriesAsyncBuilder
- All Known Implementing Classes:
SetJobRetriesByJobsAsyncBuilderImpl
public interface SetJobRetriesByJobsAsyncBuilder extends SetJobRetriesAsyncBuilder
Fluent builder to update the number of retries for one or multiple jobs asynchronously.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetJobRetriesByJobsAsyncBuilderjobIds(List<String> jobIds)Specifies a list of job ids that will be updated.SetJobRetriesByJobsAsyncBuilderjobQuery(JobQuery query)Specifies aJobQueryto reference jobs that will be updated.-
Methods inherited from interface org.camunda.bpm.engine.management.SetJobRetriesAsyncBuilder
dueDate, executeAsync
-
-
-
-
Method Detail
-
jobQuery
SetJobRetriesByJobsAsyncBuilder jobQuery(JobQuery query)
Specifies aJobQueryto reference jobs that will be updated. Note: You can reference jobs either by specific jobs (jobQuery(org.camunda.bpm.engine.runtime.JobQuery),jobIds(java.util.List<java.lang.String>)) or by process (#processInstanceIds,#processInstanceQuery,#historicProcessInstanceQuery). If you provide a job query, calling#processInstanceIds,#processInstanceQueryor#historicProcessInstanceQueryare not allowed and will cause aProcessEngineExceptiononSetJobRetriesAsyncBuilder.executeAsync().- Parameters:
query- the query to reference jobs that will be updated.- Returns:
- the builder instance
- See Also:
ManagementService.setJobRetriesAsync(JobQuery, int)
-
jobIds
SetJobRetriesByJobsAsyncBuilder jobIds(List<String> jobIds)
Specifies a list of job ids that will be updated. Note: You can reference jobs either by specific jobs (jobQuery(org.camunda.bpm.engine.runtime.JobQuery),jobIds(java.util.List<java.lang.String>)) or by process (#processInstanceIds,#processInstanceQuery,#historicProcessInstanceQuery). If you provide a list of jobs, calling#processInstanceIds,#processInstanceQueryor#historicProcessInstanceQueryare not allowed and will cause aProcessEngineExceptiononSetJobRetriesAsyncBuilder.executeAsync().- Parameters:
jobIds- The list of job ids that will be updated.- Returns:
- the builder instance
- See Also:
ManagementService.setJobRetriesAsync(JobQuery, int)
-
-