StringScheme
data class StringScheme(var pattern: String = DEFAULT_PATTERN, var isRegex: Boolean = DEFAULT_IS_REGEX, var isNonMatching: Boolean = DEFAULT_IS_NON_MATCHING, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, var removeLookAlikeSymbols: Boolean = DEFAULT_REMOVE_LOOK_ALIKE_SYMBOLS, 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, isNonMatching: Boolean = DEFAULT_IS_NON_MATCHING, capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, removeLookAlikeSymbols: Boolean = DEFAULT_REMOVE_LOOK_ALIKE_SYMBOLS, 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
true
if and only if non-matching values should be generated if isRegex is true
.
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.
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
Returns count strings of random alphanumerical characters.