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 onPath
s. 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 class
PathCondition.SubPathCondition<P extends Path>
protected static class
PathCondition.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()
boolean
passes(T value)
Returns whether the provided value passes the condition.java.lang.String
toString()
-
-
-
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:Condition
Returns whether the provided value passes the condition.
-
getPaths
public java.util.List<PathCondition.SubPathCondition<T>> getPaths()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-