Uses of Interface
org.instancio.Assignment
Packages that use Assignment
-
Uses of Assignment in org.instancio
Subinterfaces of Assignment in org.instancioModifier and TypeInterfaceDescriptioninterface
Defines optional methods that can be chained toAssign.given(TargetSelector)
builder expression.interface
Defines optional methods that can be chained toAssign.given(TargetSelector, TargetSelector)
builder expression.interface
An assigment containing origin and destination selectors.interface
An assigment containing origin and destination selectors, and a predicate that the origin value must satisfy for the assignment to be applied.Methods in org.instancio that return AssignmentModifier and TypeMethodDescription<T> Assignment
GivenOriginDestinationAction.elseGenerate
(GeneratorSpec<T> spec) Generates values using arbitrary generator specs.<T> Assignment
GivenOriginDestinationAction.elseGenerate
(GeneratorSpecProvider<T> gen) Generates values using built-in generators provided by thegen
parameter, of typeGenerators
.<T> Assignment
GivenOriginDestinationAction.elseSet
(T value) Sets a value to matching selector targets.<T> Assignment
GivenOriginDestinationAction.elseSupply
(Supplier<T> supplier) Supplies an object using aSupplier
.<T> Assignment
GivenOriginDestinationAction.elseSupply
(Generator<T> generator) Supplies an object using aGenerator
to matching selector targets.<T> Assignment
ValueOf.generate
(GeneratorSpec<T> spec) Generates values using arbitrary generator specs.<T> Assignment
ValueOf.generate
(GeneratorSpecProvider<T> gen) Generates values using built-in generators provided by thegen
parameter, of typeGenerators
.<T> Assignment
ValueOf.set
(T value) Sets a value to matching selector targets.<T> Assignment
Supplies an object using aSupplier
.<T> Assignment
Supplies an object using aGenerator
to matching selector targets.<T> Assignment
A predicate that must be satisfied by the value matched by the origin selector.<T> Assignment
A predicate that must be satisfied by the value matched by the origin selector.Methods in org.instancio with parameters of type AssignmentModifier and TypeMethodDescriptionCartesianProductApi.assign
(Assignment... assignments) Generates values based on given assignments.InstancioApi.assign
(Assignment... assignments) Generates values based on given assignments.InstancioOperations.assign
(Assignment... assignments) Generates values based on given assignments.