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 SetJobRetriesByJobsAsyncBuilder
jobIds(List<String> jobIds)
Specifies a list of job ids that will be updated.SetJobRetriesByJobsAsyncBuilder
jobQuery(JobQuery query)
Specifies aJobQuery
to 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 aJobQuery
to reference jobs that will be updated. If this method andjobIds(List)
is called together, the builder will operate on the jobs referenced by job query and job ids. If neither method is called, aProcessEngineException
is thrown onSetJobRetriesAsyncBuilder.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. If this method andjobQuery(JobQuery)
is called together, the builder will operate on the jobs referenced by job query and job ids. If neither method is called, aProcessEngineException
is thrown onSetJobRetriesAsyncBuilder.executeAsync()
.- Parameters:
jobIds
- The list of job ids that will be updated.- Returns:
- the builder instance
- See Also:
ManagementService.setJobRetriesAsync(JobQuery, int)
-
-