ArrayDecorator
data class ArrayDecorator(var enabled: Boolean = DEFAULT_ENABLED, var minCount: Int = DEFAULT_MIN_COUNT, var maxCount: Int = DEFAULT_MAX_COUNT, var separatorEnabled: Boolean = DEFAULT_SEPARATOR_ENABLED, var separator: String = DEFAULT_SEPARATOR, var elementFormat: String = DEFAULT_ELEMENT_FORMAT, val affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR) : DecoratorScheme(source)
The user-configurable collection of schemes applicable to generating arrays.
Constructors
Link copied to clipboard
constructor(enabled: Boolean = DEFAULT_ENABLED, minCount: Int = DEFAULT_MIN_COUNT, maxCount: Int = DEFAULT_MAX_COUNT, separatorEnabled: Boolean = DEFAULT_SEPARATOR_ENABLED, separator: String = DEFAULT_SEPARATOR, elementFormat: String = DEFAULT_ELEMENT_FORMAT, affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR)
Properties
Link copied to clipboard
The affixation to apply to the generated values.
Link copied to clipboard
Additional logic that determines how strings are generated.
Link copied to clipboard
The format according to which each element of the array should be formatted.
Link copied to clipboard
The icon signifying that a Scheme has been decorated with this decorator.
Link copied to clipboard
Whether to separate elements using separator.
Link copied to clipboard
Lists the Validators relevant to this State.
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.