public interface AlarmPersisterExtension
Modifier and Type | Method and Description |
---|---|
void |
afterAlarmCreated(OnmsAlarm alarm,
Event event,
OnmsEvent dbEvent)
Invoked by the AlarmPersister after the alarm has been created, but *before*
the call the save the object via the DAO is made.
|
void |
afterAlarmUpdated(OnmsAlarm alarm,
Event event,
OnmsEvent dbEvent)
Invoked by the AlarmPersister after the alarm has been updated, but *before*
the call the save the object via the DAO is made.
|
void afterAlarmCreated(OnmsAlarm alarm, Event event, OnmsEvent dbEvent)
alarm
- the alarm that was createdevent
- the event that triggered the alarmdbEvent
- the database entity associated with the given eventvoid afterAlarmUpdated(OnmsAlarm alarm, Event event, OnmsEvent dbEvent)
alarm
- the alarm that was updateevent
- the event that triggered the update to the alarmdbEvent
- the database entity associated with the given eventCopyright © 2021. All rights reserved.