N
- The type of the next context (returned by MinimumShouldMatchNonEmptyContext.end()
).public interface MinimumShouldMatchConditionContext<N>
condition was defined
.
Modifier and Type | Method and Description |
---|---|
MinimumShouldMatchNonEmptyContext<N> |
thenRequireNumber(int matchingClausesNumber)
|
MinimumShouldMatchNonEmptyContext<N> |
thenRequirePercent(int matchingClausesPercent)
|
MinimumShouldMatchNonEmptyContext<N> thenRequireNumber(int matchingClausesNumber)
matchingClausesNumber
- A definition of the number of "should" clauses that have to match.
If positive, it is the number of clauses that have to match.
See Definition of the minimum
for details and possible values, in particular negative values.MinimumShouldMatchNonEmptyContext<N> thenRequirePercent(int matchingClausesPercent)
matchingClausesPercent
- A definition of the number of "should" clauses that have to match, as a percentage.
If positive, it is the percentage of the total number of "should" clauses that have to match.
See Definition of the minimum
for details and possible values, in particular negative values.Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.