java.lang.Object
com.inductiveautomation.ignition.common.tags.search.conditions.AlarmCondition
All Implemented Interfaces:
Condition<AlarmConfiguration>, Serializable

public class AlarmCondition extends Object implements Condition<AlarmConfiguration>
A Condition implementation with the smarts to be able to search alarms in an AlarmConfiguration for a certain value
Since:
8.0
See Also:
  • Constructor Details

    • AlarmCondition

      public AlarmCondition()
  • Method Details

    • passes

      public boolean passes(AlarmConfiguration target)
      Description copied from interface: Condition
      Returns whether the provided value passes the condition.
      Specified by:
      passes in interface Condition<AlarmConfiguration>
    • requiredProperty

      public AlarmCondition requiredProperty(Property<?> property, Object value, ComparisonOperator op)
      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 for
      value - the value that we are looking for
      op - the ComparisonOperator to use