public class ConfigurationBuilder extends Object
BeanTesterBuilder| Constructor and Description |
|---|
ConfigurationBuilder()
Construct a new Configuration Builder.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
build()
Build a Configuration.
|
ConfigurationBuilder |
ignoreProperty(String property)
Mark the specified property as one to be disregarded/ignored during testing.
|
ConfigurationBuilder |
iterations(int iterations)
Set the number of times a type should be tested.
|
ConfigurationBuilder |
overrideFactory(String property,
Factory<?> factory)
Register the specified Factory as an override Factory for the specified property.
|
String |
toString()
Get a human-readable String representation of this object.
|
public ConfigurationBuilder()
public ConfigurationBuilder iterations(int iterations)
iterations - The number of times a type should be tested.IllegalArgumentException - If the iterations parameter is deemed illegal. For example, if it is less than 1.public ConfigurationBuilder ignoreProperty(String property) throws IllegalArgumentException
property - The name of the property.IllegalArgumentException - If the property parameter is deemed illegal. For example, if it is null.public ConfigurationBuilder overrideFactory(String property, Factory<?> factory) throws IllegalArgumentException
property - The name of the property.factory - The Factory to use to override standard Factory selection for the specified property.IllegalArgumentException - If either the property or factory parameter is deemed illegal. For example, if either is null.public Configuration build()
Copyright © 2010–2020 meanbean. All rights reserved.