Class SetJobRetriesBuilderImpl
java.lang.Object
org.camunda.bpm.engine.impl.management.SetJobRetriesBuilderImpl
- All Implemented Interfaces:
- SetJobRetriesBuilder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final CommandExecutorprotected Dateprotected booleanprotected Stringprotected Stringprotected static final CommandLoggerprotected Integer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSpecifies a due date to be set on the referencedjobs.voidexecute()Closes the fluent builder and executes the instructions.jobDefinitionId(String jobDefinitionId) Specifies aJobdefinition id for the set retries action.Specifies a singleJobby it's ID for the set retries action.Specifies a list ofjobsby their IDs for the set retries action.protected void
- 
Field Details- 
LOG
- 
commandExecutor
- 
jobId
- 
jobIds
- 
jobDefinitionId
- 
retries
- 
dueDate
- 
isDueDateSetprotected boolean isDueDateSet
 
- 
- 
Constructor Details- 
SetJobRetriesBuilderImpl
 
- 
- 
Method Details- 
jobIdDescription copied from interface:SetJobRetriesBuilderSpecifies a singleJobby it's ID for the set retries action. Note: Only one method of referencing jobs is allowed. If you use jobId, you can not use jobIds or jobDefinitionId.- Specified by:
- jobIdin interface- SetJobRetriesBuilder
- Parameters:
- jobId- the Id of the job. Must not be null or empty ("").
- Returns:
- the builder instance
- See Also:
 
- 
jobIdsDescription copied from interface:SetJobRetriesBuilderSpecifies a list ofjobsby their IDs for the set retries action. Note: Only one method of referencing jobs is allowed. If you use jobIds, you can not use jobId or jobDefinitionId.- Specified by:
- jobIdsin interface- SetJobRetriesBuilder
- Parameters:
- jobIds- the list of job ids. Must not be null or empty and only contain valid job ids.
- Returns:
- the builder instance
- See Also:
 
- 
jobDefinitionIdDescription copied from interface:SetJobRetriesBuilderSpecifies aJobdefinition id for the set retries action. All failedjobswith that definition id will be updated. Note: Only one method of referencing jobs is allowed. If you use jobDefinitionId, you can not use jobId or jobId.- Specified by:
- jobDefinitionIdin interface- SetJobRetriesBuilder
- Parameters:
- jobDefinitionId- the job definition id. Must not be null or empty ("").
- Returns:
- the builder instance
- See Also:
 
- 
dueDateDescription copied from interface:SetJobRetriesBuilderSpecifies 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 aJobis 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.- Specified by:
- dueDatein interface- SetJobRetriesBuilder
- Parameters:
- dueDate- The new due date for the updated jobs. If it is null, the due date will be set to null. If- ensureJobDueDateNotNullis true, the due date will be set to the current date instead of null.
- Returns:
- the builder instance
 
- 
executepublic void execute()Description copied from interface:SetJobRetriesBuilderCloses the fluent builder and executes the instructions.- Specified by:
- executein interface- SetJobRetriesBuilder
 
- 
validateParametersprotected void validateParameters()
 
-