Uses of Interface
org.instancio.generator.specs.StringGeneratorSpec
Packages that use StringGeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of StringGeneratorSpec in org.instancio.generator.specs
Subinterfaces of StringGeneratorSpec in org.instancio.generator.specsMethods in org.instancio.generator.specs that return StringGeneratorSpecModifier and TypeMethodDescriptionStringGeneratorSpec.allowEmpty()Indicates that an empty string can be generated.StringGeneratorSpec.allowEmpty(boolean isAllowed) Indicates if empty string can be generated.StringGeneratorSpec.alphaNumeric()Generates an alphanumeric string, upper case by default.StringGeneratorSpec.digits()Generates a string comprised of only digits.StringGeneratorSpec.hex()Generates a hexadecimal string, upper case by default.StringGeneratorSpec.length(int length) Length of string to generate.StringGeneratorSpec.length(int minLength, int maxLength) Length of string to generate.StringGeneratorSpec.lowerCase()Generates a lower case string.StringGeneratorSpec.maxLength(int length) Maximum length of string to generate.StringGeneratorSpec.minLength(int length) Minimum length of string to generate.StringGeneratorSpec.mixedCase()Generates a mixed case string.StringGeneratorSpec.nullable()Specifies the prefix to prepend to generated strings.Specifies the suffix to append to generated strings.StringGeneratorSpec.upperCase()Generates an upper case string. -
Uses of StringGeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return StringGeneratorSpec