public final class GeneratorConfig<T>
extends java.lang.Object
GeneratorConfig
implements a test generator configuration.Modifier and Type | Method and Description |
---|---|
static <T> GeneratorConfig<T> |
get() |
Adapter<?> |
getAdapter(java.lang.String name) |
java.util.Collection<Adapter<?>> |
getAdapters() |
Combinator<java.util.List<T>> |
getCombinator(java.lang.String name)
Creates an instance of the combinator with the given name.
|
Compositor<T> |
getCompositor(java.lang.String name)
Creates an instance of the compositor with the given name.
|
Engine<?> |
getEngine(java.lang.String name) |
java.util.Collection<Engine<?>> |
getEngines() |
Permutator<T> |
getModificator(java.lang.String name)
Creates an instance of the modificator with the given name.
|
Permutator<java.util.List<T>> |
getPermutator(java.lang.String name)
Creates an instance of the permutator with the given name.
|
Rearranger<T> |
getRearranger(java.lang.String name)
Creates an instance of the rearranger with the given name.
|
Adapter<?> |
registerAdapter(java.lang.String name,
Adapter<?> adapter) |
Engine<?> |
registerEngine(java.lang.String name,
Engine<?> engine) |
public static <T> GeneratorConfig<T> get()
public Combinator<java.util.List<T>> getCombinator(java.lang.String name)
name
- the combinator's name.public Compositor<T> getCompositor(java.lang.String name)
name
- the compositor's name.public Permutator<java.util.List<T>> getPermutator(java.lang.String name)
name
- the permutator name.public Permutator<T> getModificator(java.lang.String name)
name
- the modificator name.public Rearranger<T> getRearranger(java.lang.String name)
name
- the rearranger name.public Engine<?> getEngine(java.lang.String name)
public java.util.Collection<Engine<?>> getEngines()
public Adapter<?> getAdapter(java.lang.String name)
public java.util.Collection<Adapter<?>> getAdapters()