Class FindConstraint
java.lang.Object
io.fluxcapacitor.common.api.search.constraints.PathConstraint
io.fluxcapacitor.common.api.search.constraints.FindConstraint
- All Implemented Interfaces:
Constraint
public class FindConstraint extends PathConstraint
-
Field Summary
Fields inherited from interface io.fluxcapacitor.common.api.search.Constraint
noOp -
Constructor Summary
Constructors Constructor Description FindConstraint() -
Method Summary
Modifier and Type Method Description static Constraintfind(String find, String... paths)booleanmatches(Document document)protected booleanmatches(Document.Entry entry)Methods inherited from class io.fluxcapacitor.common.api.search.constraints.PathConstraint
checkPathBeforeEntry, getPath, hasPathConstraintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.common.api.search.Constraint
and, decompose, or
-
Constructor Details
-
FindConstraint
public FindConstraint()
-
-
Method Details
-
find
-
matches
- Specified by:
matchesin interfaceConstraint- Overrides:
matchesin classPathConstraint
-
matches
- Specified by:
matchesin classPathConstraint
-