Class AlertStatusManager
java.lang.Object
com.inductiveautomation.ignition.gateway.alert.AlertStatusManager
An AlertStatusManager is part of the AlertBus system and receives/stores all alert messages posted to the bus. The
manager can be queried to retrieve the current state of all alerts.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The base logger name for the alert status system. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<AlertEvent>
query
(AlertEventFilterParams filterParams, boolean flatten) Queries the alert status manager for any records that match the given filter elements.
-
Field Details
-
LOG_BASE_NAME
The base logger name for the alert status system. Subsystems and sub elements should build off this name.- See Also:
-
-
Constructor Details
-
AlertStatusManager
public AlertStatusManager()
-
-
Method Details
-
query
public abstract List<AlertEvent> query(AlertEventFilterParams filterParams, boolean flatten) throws Exception Queries the alert status manager for any records that match the given filter elements. All filter arguments can be null, which means to not filter by that field. String based filters can include a wildcard character of '%' which means any characters (zero or more)- Parameters:
filterParams
- The AlertEventFilterParams object containing:- system filter
- path filter
- state name filter
- min severity filter
- max severity filter
- active filter
- ackowledged filter
flatten
- Return highest state or all states for a given alert- Returns:
- A list of AlertEvent objects
- Throws:
Exception
-