Class DisplayThenSourceCondition
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.alarming.query.conditions.DisplayThenSourceCondition
 
- 
 public class DisplayThenSourceCondition extends java.lang.Object implements Condition<Path[]> This condition is basically a standard path condition, but the value is an array of paths. If a Display path is set that value checked against the condition. If no display path is set, the source path is used. It is important that thePatharray that is provided is in the correct order. The Display Path should be first followed by the source path.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description DisplayThenSourceCondition(PathCondition<Path> condition)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PathCondition<Path>getPathCondition()Returns the condition against which incoming paths will be evaluated.booleanpasses(Path[] value)Returns whether the provided value passes the condition.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
DisplayThenSourceConditionpublic DisplayThenSourceCondition(PathCondition<Path> condition) 
 
- 
 - 
Method Detail- 
getPathConditionpublic PathCondition<Path> getPathCondition() Returns the condition against which incoming paths will be evaluated.
 - 
passespublic boolean passes(Path[] value) Description copied from interface:ConditionReturns whether the provided value passes the condition.
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-