Class RemindingNotifier
java.lang.Object
de.codecentric.boot.admin.server.notify.AbstractEventNotifier
de.codecentric.boot.admin.server.notify.RemindingNotifier
- All Implemented Interfaces:
Notifier
Notifier that reminds certain statuses to send reminder notification using a delegate.
- Author:
- Johannes Edmeier
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>doNotify(InstanceEvent event, Instance instance) protected reactor.core.publisher.Mono<Void>voidsetCheckReminderInverval(Duration checkReminderInverval) voidsetReminderPeriod(Duration reminderPeriod) voidsetReminderStatuses(String[] reminderStatuses) protected booleanshouldEndReminder(InstanceEvent event) protected booleanshouldStartReminder(InstanceEvent event) voidstart()voidstop()Methods inherited from class de.codecentric.boot.admin.server.notify.AbstractEventNotifier
isEnabled, notify, setEnabled, shouldNotify
-
Constructor Details
-
RemindingNotifier
-
-
Method Details
-
doNotify
- Specified by:
doNotifyin classAbstractEventNotifier
-
start
public void start() -
stop
public void stop() -
sendReminders
-
shouldStartReminder
-
shouldEndReminder
-
setReminderPeriod
-
setReminderStatuses
-
setCheckReminderInverval
-