Args Range Options
class ArgsRangeOptions(val profile: String? = null, val requestedMinArgs: Int? = null, val minArgsOverridesSizeLimit: Boolean = false, val maxArgs: Int? = null)(source)
Represents options which influences an ArgsRangeDecider on what ArgsRange to choose.
Since
2.0.0
Properties
Link copied to clipboard
Should influence an ArgsRangeDecider's choice of ArgsRange.take, signalling that it should not be greater than the specified amount.
Link copied to clipboard
If true then SemiOrderedArgsGenerator.size does not limit the range size in case requestedMinArgs is greater.
Link copied to clipboard
Will take precedence over VariistConfig.defaultProfile.
Link copied to clipboard
Should influence an ArgsRangeDecider's choice of ArgsRange.take, signalling that it should be at least the specified amount, unless the ArgsGenerator repeats values beforehand.
Functions
Link copied to clipboard
Merges this ArgsRangeOptions with the given other where the properties of the other take precedence.