| Package | Description |
|---|---|
| org.kurtymckurt.TestPojo |
| Modifier and Type | Method and Description |
|---|---|
TestPojoBuilder<T> |
TestPojoBuilder.addExcludedField(String fieldName)
Adds a field name to the builder so that this field will not be generated.
|
TestPojoBuilder<T> |
TestPojoBuilder.addExcludedFields(String fieldName,
String... fields)
Adds multiple fields to be excluded from generation.
|
TestPojoBuilder<T> |
TestPojoBuilder.addGenerator(Generator generator)
Adds a custom generator for a type that isn't currently supported out of the box.
|
TestPojoBuilder<T> |
TestPojoBuilder.addLimiter(String fieldName,
Limiter limiter)
Adds a new Limiter per field name that will limit and control the randomness of the generated field.
|
TestPojoBuilder<T> |
TestPojoBuilder.addProviderFunction(ProviderFunction providerFunction,
Class<?> clazz,
Class<?>... clazzes)
Adds a custom provider in order to allow the builder to know how to create a *New* object of that type.
|
static <T> TestPojoBuilder<T> |
TestPojo.builder(Class<T> clazz) |
static <T> TestPojoBuilder<T> |
TestPojo.builder(Class<T> clazz,
ProviderFunction providerFunction) |
Copyright © 2019. All rights reserved.