@Mixins(value=AlarmEvent.Mixin.class) public interface AlarmEvent extends HasIdentity
Modifier and Type | Interface and Description |
---|---|
static class |
AlarmEvent.Mixin |
HasIdentity.HasIdentityMixin
IDENTITY_METHOD, IDENTITY_STATE_NAME
Modifier and Type | Method and Description |
---|---|
String |
description(Locale locale)
Returns a Description of the event in the specified locale.
|
Property<Instant> |
eventTime()
Returns the Time when the event occurred.
|
Property<Identity> |
identity()
Returns the reference of the AlarmPoint that generated the event.
|
String |
name(Locale locale)
Returns the Name of the event.
|
Property<AlarmStatus> |
newStatus()
Returns the AlarmStatus after the Event.
|
Property<AlarmStatus> |
oldStatus()
Returns the AlarmStatus prior to the Event.
|
Property<String> |
systemName()
Returns the Name of the event.
|
Property<Identity> identity()
identity
in interface HasIdentity
Property<AlarmStatus> oldStatus()
Property<AlarmStatus> newStatus()
Property<Instant> eventTime()
Property<String> systemName()
String name(Locale locale)
locale
- the locale that the name should be returned in.String description(Locale locale)
locale
- the locale that the description should be returned in.