Interface AlarmQueryResult
- All Superinterfaces:
- Collection<AlarmEvent>,- Iterable<AlarmEvent>,- List<AlarmEvent>
- All Known Implementing Classes:
- AlarmQueryResultImpl
This is the result of a query against the alarming system, for both status and history. It provides the results as a
 list, but also provides additional helper functions for getting the event and associated data as a dataset.
- 
Method SummaryModifier and TypeMethodDescriptiongetAssociatedData(String uuid) Returns the associated data of an event as a dataset.Returns the alarms as a dataset.Returns the actual AlarmEvent object for the specified event uuid.Methods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Listadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
- 
Method Details- 
getDatasetDataset getDataset()Returns the alarms as a dataset. The specific columns depend on whether this is the result of a status query, or history query.
 History: EventId, Source, DisplayPath, EventTime, EventState, Priority, IsSystemEvent 
 Status: EventId, Source, DisplayPath, EventTime, State, Priority
- 
getAssociatedDataReturns the associated data of an event as a dataset. The columns are [PropertyName, Value]
- 
getEventReturns the actual AlarmEvent object for the specified event uuid.
 
-