Class DefaultAlertEventFilterParams
- java.lang.Object
-
- com.inductiveautomation.ignition.common.alert.DefaultAlertEventFilterParams
-
- All Implemented Interfaces:
AlertEventFilterParams
,java.io.Serializable
public class DefaultAlertEventFilterParams extends java.lang.Object implements AlertEventFilterParams
A simple immutable implementation of AlertEventFilterParams- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultAlertEventFilterParams(java.lang.String systemFilter, java.lang.String pathFilter, java.lang.String displayPathFilter, java.lang.String stateNameFilter, java.lang.Integer minSeverityFilter, java.lang.Integer maxSeverityFilter, boolean activeAndUnacked, boolean activeAndAcked, boolean clearAndUnacked, boolean clearAndAcked)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayPathFilter()
Returns the display path filter ornull
if filter is not specified.java.lang.Integer
getMaxSeverityFilter()
Returns the max severity filter ornull
if filter is not specified.java.lang.Integer
getMinSeverityFilter()
Returns the min severity filter ornull
if filter is not specified.java.lang.String
getPathFilter()
Returns the path filter ornull
if filter is not specified.java.lang.String
getStateNameFilter()
Returns the state name filter ornull
if filter is not specified.java.lang.String
getSystemFilter()
Returns the system filter ornull
if filter is not specified.boolean
isActiveAndAcked()
boolean
isActiveAndUnacked()
boolean
isClearAndAcked()
boolean
isClearAndUnacked()
-
-
-
Constructor Detail
-
DefaultAlertEventFilterParams
public DefaultAlertEventFilterParams(java.lang.String systemFilter, java.lang.String pathFilter, java.lang.String displayPathFilter, java.lang.String stateNameFilter, java.lang.Integer minSeverityFilter, java.lang.Integer maxSeverityFilter, boolean activeAndUnacked, boolean activeAndAcked, boolean clearAndUnacked, boolean clearAndAcked)
-
-
Method Detail
-
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
public java.lang.Integer 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
public java.lang.Integer 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
-
-