B - The builder generic typeWB - the waveBean sub type to usepublic class CommandWaveBuilder<B extends CommandWaveBuilder<B,WB>,WB extends WaveBean> extends WaveBuilder<B>
| Modifier and Type | Field and Description |
|---|---|
private Class<? extends Command> |
commandClass
The class of the command to launch.
|
private Class<WB> |
waveBeanClass
The class of the wave bean to use.
|
| Constructor and Description |
|---|
CommandWaveBuilder(Class<? extends Command> commandClass)
Default Constructor.
|
CommandWaveBuilder(Class<? extends Command> commandClass,
Class<WB> waveBeanClass)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(WaveBase paramWave)
Apply all wave properties.
|
protected WB |
getWaveBean(Wave wave)
Get the wave Bean from the wave and cast it.
|
addBit, build, create, data, fromClass, hasBit, relatedClass, waveBeanClass, waveGroup, waveTypeprivate final Class<? extends Command> commandClass
public CommandWaveBuilder(Class<? extends Command> commandClass)
commandClass - the command class to usepublic void applyTo(WaveBase paramWave)
applyTo in class WaveBuilder<B extends CommandWaveBuilder<B,WB>>paramWave - the wave that need to be initialized with builder valuesCopyright © 2011–2014 JRebirth OSS. All rights reserved.