Class GeneratorConfig<T>
- java.lang.Object
-
- ru.ispras.microtesk.test.sequence.GeneratorConfig<T>
-
public final class GeneratorConfig<T> extends java.lang.Object
GeneratorConfig
implements a sequence generator configuration.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> GeneratorConfig<T>
get()
Combinator<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.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.
-
-
-
Method Detail
-
get
public static <T> GeneratorConfig<T> get()
-
getCombinator
public Combinator<T> getCombinator(java.lang.String name)
Creates an instance of the combinator with the given name.- Parameters:
name
- the combinator's name.- Returns:
- a combinator instance.
-
getCompositor
public Compositor<T> getCompositor(java.lang.String name)
Creates an instance of the compositor with the given name.- Parameters:
name
- the compositor's name.- Returns:
- a compositor instance.
-
getPermutator
public Permutator<java.util.List<T>> getPermutator(java.lang.String name)
Creates an instance of the permutator with the given name.- Parameters:
name
- the permutator name.- Returns:
- a permutator instance.
-
getModificator
public Permutator<T> getModificator(java.lang.String name)
Creates an instance of the modificator with the given name.- Parameters:
name
- the modificator name.- Returns:
- a modificator instance.
-
getRearranger
public Rearranger<T> getRearranger(java.lang.String name)
Creates an instance of the rearranger with the given name.- Parameters:
name
- the rearranger name.- Returns:
- a rearranger instance.
-
-