public class PathCondition<T extends Path> extends java.lang.Object implements Condition<T>
Paths. 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).| Modifier and Type | Class and Description |
|---|---|
static class |
PathCondition.SubPathCondition<P extends Path> |
protected static class |
PathCondition.WildcardSubPath<P extends Path> |
| Constructor and Description |
|---|
PathCondition() |
PathCondition(T... values) |
| Modifier and Type | Method and 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() |
public PathCondition()
public PathCondition(T... values)
public PathCondition<T> addPath(T value)
public boolean passes(T value)
Conditionpublic java.util.List<PathCondition.SubPathCondition<T>> getPaths()
public java.lang.String toString()
toString in class java.lang.Object