Interface SetJobRetriesAsyncBuilder
-
- All Known Subinterfaces:
SetJobRetriesByJobsAsyncBuilder
,SetJobRetriesByProcessAsyncBuilder
- All Known Implementing Classes:
SetJobRetriesByJobsAsyncBuilderImpl
,SetJobRetriesByProcessAsyncBuilderImpl
public interface 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 SetJobRetriesAsyncBuilder
dueDate(java.util.Date dueDate)
Specifies a due date to be set on the referencedjobs
.Batch
executeAsync()
Closes the fluent builder and creates a Batch that sets the job retries and executes any additional instructions.
-
-
-
Method Detail
-
dueDate
SetJobRetriesAsyncBuilder dueDate(java.util.Date dueDate)
Specifies a due date to be set on the referencedjobs
. When the number of retries of a job are incremented it is not automatically scheduled for immediate execution. When aJob
is executed is determined by the due date. By setting the due date together with the job retries, the scheduled execution date of the job can be adjusted.- Parameters:
dueDate
- The new due date for the updated jobs. If it is null, the due date will be set to null. IfensureJobDueDateNotNull
is true, the due date will be set to the current date instead of null.- Returns:
- the builder instance
-
executeAsync
Batch executeAsync()
Closes the fluent builder and creates a Batch that sets the job retries and executes any additional instructions.- Throws:
ProcessEngineException
- Check the builder methods and their linked counterparts inManagementService
for more detail
-
-