From 4f8b75a8f999865594b80006ccd78078ea5b4991 Mon Sep 17 00:00:00 2001 From: Fabio Formosa Date: Wed, 26 Oct 2022 21:56:02 +0200 Subject: [PATCH] #48 made configurable the misfire instruction --- .../simple-trigger-config.component.html | 25 ++++++--- .../simple-trigger-config.component.ts | 7 +++ .../app/model/misfire-instruction.model.ts | 56 +++++++++++++++++++ .../src/app/model/simple-trigger.command.ts | 1 + .../src/app/model/simple-trigger.form.ts | 1 + ...impleTriggerCommandDTOToSimpleTrigger.java | 36 ++++++++++-- .../SimpleTriggerToSimpleTriggerDTO.java | 1 + .../api/dto/MisfireInstruction.java | 27 +++++++++ .../api/dto/TriggerCommandDTO.java | 3 + .../quartz-manager-web-showcase/pom.xml | 8 +-- 10 files changed, 146 insertions(+), 19 deletions(-) create mode 100644 quartz-manager-frontend/src/app/model/misfire-instruction.model.ts create mode 100644 quartz-manager-parent/quartz-manager-starter-api/src/main/java/it/fabioformosa/quartzmanager/api/dto/MisfireInstruction.java diff --git a/quartz-manager-frontend/src/app/components/simple-trigger-config/simple-trigger-config.component.html b/quartz-manager-frontend/src/app/components/simple-trigger-config/simple-trigger-config.component.html index 3be161b..fc9d603 100644 --- a/quartz-manager-frontend/src/app/components/simple-trigger-config/simple-trigger-config.component.html +++ b/quartz-manager-frontend/src/app/components/simple-trigger-config/simple-trigger-config.component.html @@ -100,18 +100,25 @@ > -
+
-
Misfire Policy
-
RESCHEDULE NEXT WITH REMAINING COUNT
-
- In case of misfire event, the trigger is re-scheduled to the next scheduled time after 'now' with the repeat count set to what it would be, if it had not missed any firings. -
- Warning: This policy could cause the Trigger to go directly to the 'COMPLETE' state if all fire-times where missed. -
+ + Misfire Instruction + + FIRE NOW + RESCHEDULE NOW WITH EXISTING REPEAT COUNT + RESCHEDULE NOW WITH REMAINING REPEAT COUNT + RESCHEDULE NEXT WITH REMAINING COUNT + RESCHEDULE NEXT WITH EXISTING COUNT + + +
-
+