public class FixedSequence extends Mix
Modifier and Type | Class and Description |
---|---|
static class |
FixedSequence.Selector
The selector implementation for the fixed sequence.
|
Constructor and Description |
---|
FixedSequence() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Element driverConfigNode)
Configures/overrides the mix from the driverConfig DOM node
read from the configuration file.
|
FlatMix |
flatMix()
Returns the flat mix representation of this mix.
|
void |
init(Class<?> driverClass,
Annotation a)
Initializes this mix according to the annotation.
|
void |
normalize()
Normalizes the mix so it is ready for use in selections.
|
FixedSequence.Selector |
selector(Random random)
Obtains the per-thread and per-driver instance selector.
|
clone, configureCycles, getLogger, getMix
public void init(Class<?> driverClass, Annotation a) throws DefinitionException
init
in class Mix
driverClass
- The driver class annotating this mixa
- The annotationDefinitionException
- If there is an error in the annotationpublic void configure(Element driverConfigNode) throws ConfigurationException
configure
in class Mix
driverConfigNode
- The driverConfig DOM nodeConfigurationException
- If operationMix element existspublic void normalize()
public FlatMix flatMix()
public FixedSequence.Selector selector(Random random)