generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DMP-4554: Upgrade Spring Boot to 3.4.1 (#2503)
- Loading branch information
1 parent
6d6d67b
commit 023e5d7
Showing
3 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/main/java/uk/gov/hmcts/darts/task/model/AutomatedTaskTrigger.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package uk.gov.hmcts.darts.task.model; | ||
|
||
import lombok.Getter; | ||
import org.springframework.scheduling.Trigger; | ||
import org.springframework.scheduling.config.TriggerTask; | ||
import uk.gov.hmcts.darts.task.runner.AutomatedTask; | ||
|
||
@Getter | ||
public class AutomatedTaskTrigger extends TriggerTask { | ||
private final AutomatedTask automatedTask; | ||
|
||
public AutomatedTaskTrigger(AutomatedTask automatedTask, Trigger trigger) { | ||
super(automatedTask, trigger); | ||
this.automatedTask = automatedTask; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters