Class BetweenConstraint
java.lang.Object
io.fluxcapacitor.common.api.search.constraints.PathConstraint
io.fluxcapacitor.common.api.search.constraints.BetweenConstraint
- All Implemented Interfaces:
Constraint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BetweenConstraintstatic BetweenConstraintstatic BetweenConstraintprotected booleanprotected booleanmatches(Document.Entry entry) Methods inherited from class io.fluxcapacitor.common.api.search.constraints.PathConstraint
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
-
BetweenConstraint
public BetweenConstraint()
-
-
Method Details
-
between
public static BetweenConstraint between(Object min, Object maxExclusive, @NonNull @NonNull String path) -
atLeast
public static BetweenConstraint atLeast(@NonNull @NonNull Object min, @NonNull @NonNull String path) -
below
public static BetweenConstraint below(@NonNull @NonNull Object maxExclusive, @NonNull @NonNull String path) -
matches
- Specified by:
matchesin classPathConstraint
-
checkPathBeforeEntry
protected boolean checkPathBeforeEntry()- Overrides:
checkPathBeforeEntryin classPathConstraint
-