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.
    • 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.
        Parameters:
        type - alarm type
        alarm - the alarm related to the event.