Class AlarmCondition
java.lang.Object
com.inductiveautomation.ignition.common.tags.search.conditions.AlarmCondition
- All Implemented Interfaces:
Condition<AlarmConfiguration>
,Serializable
A Condition implementation with the smarts to be able to search alarms in an AlarmConfiguration for a certain value
- Since:
- 8.0
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
passes
(AlarmConfiguration target) Returns whether the provided value passes the condition.requiredProperty
(Property<?> property, Object value, ComparisonOperator op) Adds a required property sub-condition.
-
Constructor Details
-
AlarmCondition
public AlarmCondition()
-
-
Method Details
-
passes
Description copied from interface:Condition
Returns whether the provided value passes the condition.- Specified by:
passes
in interfaceCondition<AlarmConfiguration>
-
requiredProperty
Adds a required property sub-condition. All required sub-conditions must pass for the overall condition to pass.- Parameters:
property
- the Property that holds the value we are looking forvalue
- the value that we are looking forop
- the ComparisonOperator to use
-