public final class StageWaveBuilder extends CommandWaveBuilder<StageWaveBuilder,StageWaveBean>
| Modifier and Type | Field and Description |
|---|---|
private StageAction |
action
The action to perform for this stage.
|
private Class<? extends Model> |
rootModelClass
The root model class to show attached to the stage.
|
private String |
stageKey
The unique key used to identify a stage.
|
| Modifier | Constructor and Description |
|---|---|
private |
StageWaveBuilder()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StageWaveBuilder |
action(StageAction action)
Define action to process.
|
void |
applyTo(WaveBase paramWave)
Apply all wave properties.
|
static StageWaveBuilder |
create()
Static method to build a default builder.
|
StageWaveBuilder |
key(String stageKey)
Define action to process.
|
StageWaveBuilder |
rootModelClass(Class<? extends Model> rootModelClass)
Define the root model class.
|
getWaveBeanaddBit, build, data, fromClass, hasBit, relatedClass, waveBeanClass, waveGroup, waveTypeprivate String stageKey
private StageAction action
public static StageWaveBuilder create()
public void applyTo(WaveBase paramWave)
applyTo in class CommandWaveBuilder<StageWaveBuilder,StageWaveBean>paramWave - the wave that need to be initialized with builder valuespublic StageWaveBuilder key(String stageKey)
stageKey - the stage keypublic StageWaveBuilder action(StageAction action)
action - the action to perform StageActionpublic StageWaveBuilder rootModelClass(Class<? extends Model> rootModelClass)
rootModelClass - the root model classCopyright © 2011–2014 JRebirth OSS. All rights reserved.