Fixed Length Decorator
data class FixedLengthDecorator(var enabled: Boolean = DEFAULT_ENABLED, var length: Int = DEFAULT_LENGTH, var filler: String = DEFAULT_FILLER) : DecoratorScheme(source)
Forces generated strings to be exactly length characters.
Constructors
Properties
Link copied to clipboard
Additional logic that determines how strings are generated.
Link copied to clipboard
Whether this decorator is enabled, or whether any invocation of generateStrings should be passed directly to the generator.
Link copied to clipboard
Functions
Link copied to clipboard
Returns a deep copy, retaining the uuid if and only if retainUuid is true.
Link copied to clipboard
Generates count random data according to the settings in this scheme, ignoring settings from decorators.