Class AlarmEvent

  • All Implemented Interfaces:
    Event<AlarmEvent.Type,​Alarm>

    public class AlarmEvent
    extends AbstractEvent<AlarmEvent.Type,​Alarm>
    Entity that represents Alarm events. Note: although the event will itself have a time, consumers may be more interested in the times embedded in the alarms themselves.
    • Constructor Detail

      • AlarmEvent

        public AlarmEvent​(AlarmEvent.Type type,
                          Alarm alarm)
        Creates an event due to one alarm.
        Parameters:
        type - alarm type
        alarm - the alarm related to the event.