ArgsRangeOptions

class ArgsRangeOptions(val profile: String? = null, val requestedMinArgs: Int? = null, val maxArgs: Int? = null)(source)

Represents options which influences an ArgsRangeDecider on what ArgsRange to choose.

Since

2.0.0

Constructors

Link copied to clipboard
constructor(profile: String? = null, requestedMinArgs: Int? = null, maxArgs: Int? = null)

Properties

Link copied to clipboard
val maxArgs: Int? = null

Should influence an ArgsRangeDecider's choice of ArgsRange.take, signaling that it should not be greater than the specified amount.

Link copied to clipboard
val profile: String? = null

Will take precedence over VariistConfig.defaultProfile.

Link copied to clipboard
val requestedMinArgs: Int? = null

Should influence an ArgsRangeDecider's choice of ArgsRange.take, signaling 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.