java.lang.Object
com.inductiveautomation.ignition.common.alarming.query.conditions.SourceOrDisplayCondition
All Implemented Interfaces:
Condition<Path[]>, Serializable

public class SourceOrDisplayCondition extends Object implements Condition<Path[]>
This condition is basically a standard path condition, but the value is an array of paths. If any of the values in the array pass the condition, the overall condition passes.
See Also:
  • Constructor Details

    • SourceOrDisplayCondition

      public SourceOrDisplayCondition(PathCondition<Path> condition)
  • Method Details

    • getPathCondition

      public PathCondition<Path> getPathCondition()
      Returns the condition against which incoming paths will be evaluated.
    • passes

      public boolean passes(Path[] value)
      Description copied from interface: Condition
      Returns whether the provided value passes the condition.
      Specified by:
      passes in interface Condition<Path[]>
    • toString

      public String toString()
      Overrides:
      toString in class Object