Uses of Interface
org.instancio.Assignment
Packages that use Assignment
-
Uses of Assignment in org.instancio
Subinterfaces of Assignment in org.instancioModifier and TypeInterfaceDescriptioninterfaceDefines optional methods that can be chained toAssign.given(TargetSelector)builder expression.interfaceDefines optional methods that can be chained toAssign.given(TargetSelector, TargetSelector)builder expression.interfaceAn assigment containing origin and destination selectors.interfaceAn 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> AssignmentGivenOriginDestinationAction.elseGenerate(GeneratorSpec<T> spec) Generates values using arbitrary generator specs.<T> AssignmentGivenOriginDestinationAction.elseGenerate(GeneratorSpecProvider<T> gen) Generates values using built-in generators provided by thegenparameter, of typeGenerators.<T> AssignmentGivenOriginDestinationAction.elseSet(T value) Sets a value to matching selector targets.<T> AssignmentGivenOriginDestinationAction.elseSupply(Supplier<T> supplier) Supplies an object using aSupplier.<T> AssignmentGivenOriginDestinationAction.elseSupply(Generator<T> generator) Supplies an object using aGeneratorto matching selector targets.<T> AssignmentValueOf.generate(GeneratorSpec<T> spec) Generates values using arbitrary generator specs.<T> AssignmentValueOf.generate(GeneratorSpecProvider<T> gen) Generates values using built-in generators provided by thegenparameter, of typeGenerators.<T> AssignmentValueOf.set(T value) Sets a value to matching selector targets.<T> AssignmentSupplies an object using aSupplier.<T> AssignmentSupplies an object using aGeneratorto matching selector targets.<T> AssignmentA predicate that must be satisfied by the value matched by the origin selector.<T> AssignmentA 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) InstancioApi.assign(Assignment... assignments)