public class AlarmEvent extends AbstractEvent<AlarmEvent.Type,Alarm>
Modifier and Type | Class and Description |
---|---|
static class |
AlarmEvent.Type
Type of alarm event.
|
Constructor and Description |
---|
AlarmEvent(AlarmEvent.Type type,
Alarm alarm)
Creates an event due to one alarm.
|
subject, time, toString, type
public AlarmEvent(AlarmEvent.Type type, Alarm alarm)
type
- alarm typealarm
- the alarm related to the event.