StringScheme
data class StringScheme(var pattern: String = DEFAULT_PATTERN, var isRegex: Boolean = DEFAULT_IS_REGEX, var removeLookAlikeSymbols: Boolean = DEFAULT_REMOVE_LOOK_ALIKE_SYMBOLS, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, val arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR) : Scheme(source)
Contains settings for generating random strings.
Constructors
Link copied to clipboard
constructor(pattern: String = DEFAULT_PATTERN, isRegex: Boolean = DEFAULT_IS_REGEX, removeLookAlikeSymbols: Boolean = DEFAULT_REMOVE_LOOK_ALIKE_SYMBOLS, capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR)
Properties
Link copied to clipboard
Settings that determine whether the output should be an array of values.
Link copied to clipboard
The capitalization mode of the generated string.
Link copied to clipboard
Additional logic that determines how strings are generated.
Link copied to clipboard
Whether the symbols in LOOK_ALIKE_CHARACTERS should be removed.
Link copied to clipboard
The icon signifying the type of data represented by this scheme, ignoring its decorators, or null
if this scheme does not represent any kind of data, as is the case for DecoratorSchemes.
Functions
Link copied to clipboard
Returns a deep copy, retaining the uuid if and only if retainUuid is true
.
Link copied to clipboard
Validates the state, and indicates whether and why it is invalid.