Interface Filter<T>

  • All Superinterfaces:
    Condition<T>, java.io.Serializable
    All Known Implementing Classes:
    AbstractFilter, AlarmFilter

    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 Detail

      • hasConditionFor

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

        <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.