Package org.instancio
Interface GeneratorSpecProvider<V>
- Type Parameters:
V
- generated object type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides access to built-in generators that support customisation
of generated values using the API.
- Since:
- 2.2.0
-
Method Summary
-
Method Details
-
getSpec
Returns a customised generator spec.- Parameters:
gen
- specs available out of the box- Returns:
- generator spec
-