public class EinfacherTerminHandler extends AlarmHandler implements SchedulableHandlerI, ScheduledAlarmHandlerI
ScheduledAlarmHandlerI.DateWithInfo
Constructor and Description |
---|
EinfacherTerminHandler(AlarmModule am,
boolean handleSyncEvents) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getAlarmClass()
Determines the specific subclass of
Alarm for which this
AlarmHandler is responsible. |
org.apache.log4j.Logger |
getLogger() |
ScheduledAlarmHandlerI.DateWithInfo |
getNextTriggeringDateWithInfo() |
AlarmScheduler |
getScheduler() |
void |
onSchedulablesTriggered(java.util.Date shouldHaveBeenTriggeredAt)
This method is called by the scheduler when one or more scheduled
EinfacherTermin instances have been
triggered. |
void |
retrigger(AlarmAusloesung aa,
ErrorCollector ec)
Performs the triggering actions defined by the given
AlarmAusloesung again, as if the respective
Alarm had just been triggered in the regular way. |
void |
setScheduler(AlarmScheduler $9) |
addClassesOfInterest, deactivateAlarmDueToErrors, deactivateAlarmDueToErrors, getAlarme, getAlarmeIterator, getAlarmModule, getBTsHandler, getKernelDatabaseAccessor, getKernelDatabaseSaver, getSchema, getStartingDateForChecks, getUser, handleBT, isHandleSyncEvents, markTXAsToBeIgnored, setAlarme, setAlarmModule, setBTsHandler, setHandleSyncEvents
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateSchedule
public EinfacherTerminHandler(AlarmModule am, boolean handleSyncEvents)
public org.apache.log4j.Logger getLogger()
getLogger
in interface BTHandlerI
getLogger
in interface SchedulableHandlerI
getLogger
in class AlarmHandler
public java.lang.Class getAlarmClass()
AlarmHandler
Alarm
for which this
AlarmHandler
is responsible.getAlarmClass
in class AlarmHandler
Alarm
that this handler is
responsible for.public void onSchedulablesTriggered(java.util.Date shouldHaveBeenTriggeredAt)
EinfacherTermin
instances have been
triggered.onSchedulablesTriggered
in interface SchedulableHandlerI
shouldHaveBeenTriggeredAt
- the Date
when the respective EinfacherTermin
should have
been triggered; if the alarm system was deactivated or in other similar situations (whatever they may be :-)
this may actually be far earlier than the actual current time!public ScheduledAlarmHandlerI.DateWithInfo getNextTriggeringDateWithInfo()
getNextTriggeringDateWithInfo
in interface ScheduledAlarmHandlerI
public void retrigger(AlarmAusloesung aa, ErrorCollector ec)
AlarmHandler
AlarmAusloesung
again, as if the respective
Alarm
had just been triggered in the regular way.
Intended for manual maintenance/repair for cases where some problem occurred in the original triggering.retrigger
in class AlarmHandler
public AlarmScheduler getScheduler()
getScheduler
in interface ScheduledAlarmHandlerI
public void setScheduler(AlarmScheduler $9)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.