Class PathCondition<T extends Path>

  • 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 on 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).
    See Also:
    Serialized Form
    • Constructor Detail

      • PathCondition

        public PathCondition()
      • PathCondition

        public PathCondition​(T... values)
    • Method Detail

      • passes

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object