Interface AlarmQueryProvider
- 
 public interface AlarmQueryProviderThis interface can be implemented by an AlarmProvider in order to provide the ability to query alarm status from a different source than the main alarm state model maintained by the gateway.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Set<java.util.UUID>acknowledge(java.util.Collection<java.util.UUID> uuids, EventData ackData)Default bulk acknowledge implementationbooleanacknowledge(java.util.UUID eventId, EventData ackData)AlarmQueryResultquery(AlarmFilter filter)Queries the status of the alarms, given the filter.
 
- 
- 
- 
Method Detail- 
acknowledgedefault java.util.Set<java.util.UUID> acknowledge(java.util.Collection<java.util.UUID> uuids, EventData ackData)Default bulk acknowledge implementation- Parameters:
- uuids- IDs of alarm events
- ackData- Associated data for ack
- Returns:
- Set of UUIDs that weren't found
 
 - 
acknowledgeboolean acknowledge(java.util.UUID eventId, EventData ackData)
 - 
queryAlarmQueryResult query(AlarmFilter filter) Queries the status of the alarms, given the filter. Given the filter, the query may not apply at all to this provider- it is the provider's responsibility to determine this. However, even if the query doesn't apply, the provider is expected to return an empty result set, not null.
 
- 
 
-