Uses of Interface
org.instancio.Generator
-
Packages that use Generator Package Description org.instancio Instancio public-facing APIs; for usage examples seeInstancio
.org.instancio.generator org.instancio.generator.array org.instancio.generator.lang Generators forjava.lang.*
types.org.instancio.generator.math org.instancio.generator.misc org.instancio.generator.sql org.instancio.generator.text Text generators.org.instancio.generator.time org.instancio.generator.util org.instancio.generator.util.concurrent org.instancio.generator.util.concurrent.atomic org.instancio.generator.xml org.instancio.internal org.instancio.internal.context org.instancio.spi -
-
Uses of Generator in org.instancio
Methods in org.instancio with parameters of type Generator Modifier and Type Method Description default void
Generator. setDelegate(Generator<?> delegate)
Set a delegate that will be responsible for instantiating an object on behalf of this generator.<V> InstancioApi<T>
InstancioApi. supply(TargetSelector selector, Generator<V> generator)
Supplies a randomised value for a field or class using a customGenerator
. -
Uses of Generator in org.instancio.generator
Classes in org.instancio.generator that implement Generator Modifier and Type Class Description class
AbstractGenerator<T>
Base class for generators that require theGeneratorContext
.Methods in org.instancio.generator that return types with arguments of type Generator Modifier and Type Method Description Optional<Generator<?>>
GeneratorResolver. get(Class<?> klass)
-
Uses of Generator in org.instancio.generator.array
Classes in org.instancio.generator.array that implement Generator Modifier and Type Class Description class
ArrayGenerator<T>
class
OneOfArrayGenerator<T>
-
Uses of Generator in org.instancio.generator.lang
Classes in org.instancio.generator.lang that implement Generator Modifier and Type Class Description class
AbstractRandomComparableNumberGeneratorSpec<T extends Number & Comparable<T>>
class
AbstractRandomNumberGeneratorSpec<T extends Number>
class
BooleanGenerator
class
ByteGenerator
class
CharacterGenerator
class
DoubleGenerator
class
EnumGenerator<E extends Enum<E>>
class
FloatGenerator
class
IntegerGenerator
class
LongGenerator
class
ShortGenerator
class
StringBuilderGenerator
class
StringGenerator
-
Uses of Generator in org.instancio.generator.math
Classes in org.instancio.generator.math that implement Generator Modifier and Type Class Description class
BigDecimalGenerator
class
BigIntegerGenerator
-
Uses of Generator in org.instancio.generator.misc
Classes in org.instancio.generator.misc that implement Generator Modifier and Type Class Description class
InstantiatingGenerator
-
Uses of Generator in org.instancio.generator.sql
Classes in org.instancio.generator.sql that implement Generator Modifier and Type Class Description class
SqlDateGenerator
class
TimestampGenerator
-
Uses of Generator in org.instancio.generator.text
Classes in org.instancio.generator.text that implement Generator Modifier and Type Class Description class
TextPatternGenerator
-
Uses of Generator in org.instancio.generator.time
Classes in org.instancio.generator.time that implement Generator Modifier and Type Class Description class
InstantGenerator
class
LocalDateGenerator
class
LocalDateTimeGenerator
class
LocalTimeGenerator
class
YearGenerator
class
YearMonthGenerator
class
ZonedDateTimeGenerator
-
Uses of Generator in org.instancio.generator.util
Classes in org.instancio.generator.util that implement Generator Modifier and Type Class Description class
CalendarGenerator
class
CollectionGenerator<T>
class
CollectionGeneratorSpecImpl<T>
class
DateGenerator
class
EnumSetGenerator<E extends Enum<E>>
class
HashSetGenerator<T>
class
MapGenerator<K,V>
class
MapGeneratorSpecImpl<K,V>
class
OneOfCollectionGenerator<T>
class
TreeMapGenerator<K,V>
class
TreeSetGenerator<T>
class
UUIDGenerator
Methods in org.instancio.generator.util with parameters of type Generator Modifier and Type Method Description void
CollectionGeneratorSpecImpl. setDelegate(Generator<?> delegate)
void
MapGeneratorSpecImpl. setDelegate(Generator<?> delegate)
-
Uses of Generator in org.instancio.generator.util.concurrent
Classes in org.instancio.generator.util.concurrent that implement Generator Modifier and Type Class Description class
ConcurrentHashMapGenerator<K,V>
class
ConcurrentSkipListMapGenerator<K,V>
-
Uses of Generator in org.instancio.generator.util.concurrent.atomic
Classes in org.instancio.generator.util.concurrent.atomic that implement Generator Modifier and Type Class Description class
AtomicIntegerGenerator
class
AtomicLongGenerator
-
Uses of Generator in org.instancio.generator.xml
Classes in org.instancio.generator.xml that implement Generator Modifier and Type Class Description class
XMLGregorianCalendarGenerator
-
Uses of Generator in org.instancio.internal
Methods in org.instancio.internal with parameters of type Generator Modifier and Type Method Description <V> InstancioApi<T>
InstancioApiImpl. supply(TargetSelector selectorGroup, Generator<V> generator)
static void
ApiValidator. validateGeneratorUsage(Node node, Generator<?> generator)
-
Uses of Generator in org.instancio.internal.context
Methods in org.instancio.internal.context that return types with arguments of type Generator Modifier and Type Method Description Optional<Generator<?>>
ModelContext. getGenerator(Node node)
Methods in org.instancio.internal.context with parameters of type Generator Modifier and Type Method Description ModelContext.Builder<T>
ModelContext.Builder. withGenerator(TargetSelector selector, Generator<?> generator)
-
Uses of Generator in org.instancio.spi
Methods in org.instancio.spi that return types with arguments of type Generator Modifier and Type Method Description Map<Class<?>,Generator<?>>
GeneratorProvider. getGenerators()
Provides a map of generators to register.
-