All Superinterfaces:
Condition<T>, Serializable
All Known Implementing Classes:
AbstractFilter, AlarmFilter, TagQuery, TagQueryFilter

public interface Filter<T> extends Condition<T>
A filter contains multiple conditions, and operates on a type of object. Instances of that object are passed through, and true/false is returned according to whether they pass the conditions of the filter.
  • Method Summary

    Modifier and Type
    Method
    Description
    <V, C extends Condition<V>>
    C
    getConditionFor(Field<T,V,C> field)
    Returns the condition for the field, or null if it doesn't exist.
    boolean
    hasConditionFor(Field<T,?,?> field)
    Returns whether the filter has a condition for the field.

    Methods inherited from interface com.inductiveautomation.ignition.common.alarming.query.Condition

    passes
  • Method Details

    • hasConditionFor

      boolean hasConditionFor(Field<T,?,?> field)
      Returns whether the filter has a condition for the field.
    • getConditionFor

      @Nullable <V, C extends Condition<V>> C getConditionFor(Field<T,V,C> field)
      Returns the condition for the field, or null if it doesn't exist.