Class ContainsConstraint
java.lang.Object
io.fluxcapacitor.common.api.search.constraints.PathConstraint
io.fluxcapacitor.common.api.search.constraints.ContainsConstraint
- All Implemented Interfaces:
Constraint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Constraintcontains(String phrase, boolean prefixSearch, boolean postfixSearch, boolean splitInTerms, String... paths) static Constraintstatic Constraintprotected booleanmatches(Document.Entry entry) Methods inherited from class io.fluxcapacitor.common.api.search.constraints.PathConstraint
checkPathBeforeEntry, getPaths, hasPathConstraint, matches, withPathsMethods 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
-
ContainsConstraint
public ContainsConstraint()
-
-
Method Details
-
contains
-
contains
public static Constraint contains(String phrase, boolean prefixSearch, boolean postfixSearch, String... paths) -
contains
public static Constraint contains(String phrase, boolean prefixSearch, boolean postfixSearch, boolean splitInTerms, String... paths) -
matches
- Specified by:
matchesin classPathConstraint
-