Class JobRetryService
java.lang.Object
com.bluebell.greenhouse.radicle.services.job.JobRetryService
Creates immutable linked job attempts for manual and automatic retry commands.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretry(String jobId, String actor, String reason, LocalDateTime notBefore, JobTriggerType triggerType) Creates a queued retry linked to the selected attempt.
-
Constructor Details
-
JobRetryService
public JobRetryService()
-
-
Method Details
-
retry
@Transactional public JobSubmission retry(String jobId, String actor, String reason, LocalDateTime notBefore, JobTriggerType triggerType) Creates a queued retry linked to the selected attempt.- Parameters:
jobId- selected public job identifieractor- initiating actorreason- retry reasonnotBefore- earliest execution timetriggerType- what caused this retry- Returns:
- new attempt submission
-