Class AlarmEvent

  • All Implemented Interfaces:

    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.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AlarmEvent.Type
      Type of alarm event.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AlarmEvent

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