Class DefaultAlertEventFilterParams
java.lang.Object
com.inductiveautomation.ignition.common.alert.DefaultAlertEventFilterParams
- All Implemented Interfaces:
AlertEventFilterParams
,Serializable
A simple immutable implementation of AlertEventFilterParams
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the display path filter ornull
if filter is not specified.Returns the max severity filter ornull
if filter is not specified.Returns the min severity filter ornull
if filter is not specified.Returns the path filter ornull
if filter is not specified.Returns the state name filter ornull
if filter is not specified.Returns the system filter ornull
if filter is not specified.boolean
boolean
boolean
boolean
-
Constructor Details
-
DefaultAlertEventFilterParams
-
-
Method Details
-
isActiveAndAcked
public boolean isActiveAndAcked()- Specified by:
isActiveAndAcked
in interfaceAlertEventFilterParams
-
isActiveAndUnacked
public boolean isActiveAndUnacked()- Specified by:
isActiveAndUnacked
in interfaceAlertEventFilterParams
-
isClearAndAcked
public boolean isClearAndAcked()- Specified by:
isClearAndAcked
in interfaceAlertEventFilterParams
-
isClearAndUnacked
public boolean isClearAndUnacked()- Specified by:
isClearAndUnacked
in interfaceAlertEventFilterParams
-
getMaxSeverityFilter
Description copied from interface:AlertEventFilterParams
Returns the max severity filter ornull
if filter is not specified. If specified, it filters alerts that have severity less than or equal to the given value.- Specified by:
getMaxSeverityFilter
in interfaceAlertEventFilterParams
-
getMinSeverityFilter
Description copied from interface:AlertEventFilterParams
Returns the min severity filter ornull
if filter is not specified. If specified, it filters alerts that have severity greater than or equal to the given value.- Specified by:
getMinSeverityFilter
in interfaceAlertEventFilterParams
-
getPathFilter
Description copied from interface:AlertEventFilterParams
Returns the path filter ornull
if filter is not specified. If specified, it matches the alert's path to the given filter. May include a wildcard character of '%' which means any characters (zero or more).- Specified by:
getPathFilter
in interfaceAlertEventFilterParams
-
getDisplayPathFilter
Description copied from interface:AlertEventFilterParams
Returns the display path filter ornull
if filter is not specified. If specified, it matches the alert's display path to the given filter. May include a wildcard character of '%' which means any characters (zero or more).- Specified by:
getDisplayPathFilter
in interfaceAlertEventFilterParams
-
getStateNameFilter
Description copied from interface:AlertEventFilterParams
Returns the state name filter ornull
if filter is not specified. If specified, it matches the alert's state name to the given filter. May include a wildcard character of '%' which means any characters (zero or more).- Specified by:
getStateNameFilter
in interfaceAlertEventFilterParams
-
getSystemFilter
Description copied from interface:AlertEventFilterParams
Returns the system filter ornull
if filter is not specified. If specified, it matches the SCADARail system the alert is in to the given filter. May include a wildcard character of '%' which means any characters (zero or more).- Specified by:
getSystemFilter
in interfaceAlertEventFilterParams
-