MinimumShouldMatch

sealed class MinimumShouldMatch : ToValue<Any>

Represents variants for minimum_should_match parameter.

See also

Types

Combinations
Link copied to clipboard
data class Combinations(combinations: List<<ERROR CLASS><Int, MinimumShouldMatch.Simple>>) : MinimumShouldMatch
A list of pairs where the first value is a positive integer.
Count
Link copied to clipboard
data class Count(count: Int) : MinimumShouldMatch.Simple
A fixed number of matched clauses.
Percent
Link copied to clipboard
data class Percent(percent: Int) : MinimumShouldMatch.Simple
A percentage of the total number of clauses should be necessary.
Simple
Link copied to clipboard
abstract class Simple : MinimumShouldMatch

Functions

toValue
Link copied to clipboard
abstract fun toValue(): Any

Inheritors

MinimumShouldMatch
Link copied to clipboard
MinimumShouldMatch
Link copied to clipboard