Class PathCondition<T extends Path>
- java.lang.Object
-
- com.inductiveautomation.ignition.common.alarming.query.conditions.PathCondition<T>
-
- All Implemented Interfaces:
Condition<T>,java.io.Serializable
public class PathCondition<T extends Path> extends java.lang.Object implements Condition<T>
A path condition operates onPaths. It specifies any number of potential paths, and will match if any of them hit. Also, paths can be defined to allow any children to match as well (the "andDecendents" flag).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPathCondition.SubPathCondition<P extends Path>protected static classPathCondition.WildcardSubPath<P extends Path>
-
Constructor Summary
Constructors Constructor Description PathCondition()PathCondition(T... values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathCondition<T>addPath(T value)java.util.List<PathCondition.SubPathCondition<T>>getPaths()booleanpasses(T value)Returns whether the provided value passes the condition.java.lang.StringtoString()
-
-
-
Constructor Detail
-
PathCondition
public PathCondition()
-
PathCondition
public PathCondition(T... values)
-
-
Method Detail
-
addPath
public PathCondition<T> addPath(T value)
-
passes
public boolean passes(T value)
Description copied from interface:ConditionReturns whether the provided value passes the condition.
-
getPaths
public java.util.List<PathCondition.SubPathCondition<T>> getPaths()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-