Package org.instancio.feed
@ExperimentalApi
package org.instancio.feed
Contains classes related to
Feed.- Since:
- 5.0.0
-
ClassDescriptionA data source for specs defined by a
Feed.Provides aDataSourceusing the specifiedDataSourceProvider.DataSourceFactory.CreatesDataSourceobjects from various underlying sources.This interface provides support for using data from external sources (such as CSV or JSON files) and enables the following use cases: Generating values using methods defined by a feed. Populating values via thegenerate()method. Mapping feed data to an object usingapplyFeed(). Using a feed instance as a parameterized test argument.Specifies the data access strategy to be used by a feed.Annotation for specifying the data format type for a feed.An annotation for specifying data for aFeed.Annotation for specifying a property to use as a tag key in a data feed.Provider interface for buildingFeedinstances.Factory for building instances of aFeed.FeedSpec<T>The return type for spec methods declared by aFeed.Defines built-in accessors for aFeed.Defines annotations that can be used withFeedSpecmethods.Allows mapping a property name from an external data source to a spec method in aFeed.A spec that is derived from one or more other specs.A feed spec that is generated by aGenerator.Specifies that the annotated spec method can generatenullvalues.A template spec is for producing string values based on a string template with inputs provided by other specs.This annotation allows specifying one or morePostProcessorclasses for processing values returned by the annotated spec method.Annotation to specify a customFunctionto be used for converting string values to a specified type.Provides aFormatOptionsProvider.FormatOptionsusing the specifiedFormatOptionsProvider.FormatOptionsFactory.Marker interface for supported data formats.Interface for configuring CSV data format options.CreatesFormatOptionsProvider.FormatOptionsobjects for supported data format types.A marker interface for classes that provide a method for handlingFeedSpecAnnotations.FunctionSpec.An interface for applying additional processing to data returned by a spec method of aFeed.