Uses of Interface
org.instancio.InstancioCartesianProductApi
Packages that use InstancioCartesianProductApi
-
Uses of InstancioCartesianProductApi in org.instancio
Methods in org.instancio that return InstancioCartesianProductApiModifier and TypeMethodDescriptionInstancioCartesianProductApi.applyFeed(TargetSelector selector, Feed feed) Applies the providedfeedto the specifiedselector.InstancioCartesianProductApi.applyFeed(TargetSelector selector, FeedProvider provider) Creates a feed and applies it to the specifiedselector.InstancioCartesianProductApi.assign(Assignment... assignments) Generates values based on given assignments.InstancioCartesianProductApi.filter(TargetSelector selector, FilterPredicate<V> predicate) Filters generated values using givenpredicate.InstancioCartesianProductApi.generate(TargetSelector selector, GeneratorSpec<V> spec) Customises values using arbitrary generator specs.InstancioCartesianProductApi.generate(TargetSelector selector, GeneratorSpecProvider<V> gen) Customises values using built-in generators provided by thegenparameter, of typeGenerators.InstancioCartesianProductApi.ignore(TargetSelector selector) Specifies that a class or field should be ignored.InstancioCartesianProductApi.lenient()Disables strict mode in which unused selectors trigger an error.static <T> InstancioCartesianProductApi<T> Instancio.ofCartesianProduct(Class<T> type) Generates the Cartesian product based on the values specified via thewith()method.static <T> InstancioCartesianProductApi<T> Instancio.ofCartesianProduct(Model<T> model) Generates the Cartesian product based on the values specified via thewith()method.static <T> InstancioCartesianProductApi<T> Instancio.ofCartesianProduct(TypeTokenSupplier<T> typeToken) Generates the Cartesian product based on the values specified via thewith()method.InstancioCartesianProductApi.onComplete(TargetSelector selector, OnCompleteCallback<V> callback) A callback that gets invoked after the root object has been fully populated.InstancioCartesianProductApi.set(TargetSelector selector, V value) Sets a value to matching selector targets.InstancioCartesianProductApi.setBlank(TargetSelector selector) Specifies that a blank object should be generated for the selected target.InstancioCartesianProductApi.setModel(TargetSelector selector, Model<V> model) Applies givenmodelto the specifiedselector.InstancioCartesianProductApi.subtype(TargetSelector selector, Class<?> subtype) Maps target field or class to the given subtype.InstancioCartesianProductApi.supply(TargetSelector selector, Supplier<V> supplier) Supplies an object using aSupplier.InstancioCartesianProductApi.supply(TargetSelector selector, Generator<V> generator) Supplies an object using aGeneratorto matching selector targets.InstancioCartesianProductApi.verbose()Outputs debug information toSystem.out.InstancioCartesianProductApi.with(TargetSelector selector, V... values) Sets a range of values for generating the Cartesian product.InstancioCartesianProductApi.withMaxDepth(int maxDepth) Specifies the maximum depth for populating an object.InstancioCartesianProductApi.withNullable(TargetSelector selector) Specifies that a field or class is nullable.InstancioCartesianProductApi.withSeed(long seed) Sets the seed value for the random number generator.InstancioCartesianProductApi.withSetting(SettingKey<V> key, V value) Overrides the setting for the givenkeywith the specifiedvalue.InstancioCartesianProductApi.withSettings(Settings settings) Merges the specifiedSettingswith the current settings, allowing for the addition and update of settings.InstancioCartesianProductApi.withUnique(TargetSelector selector) Specifies that the given selector's target(s) should have unique values.