public interface CommandReady
| Modifier and Type | Method and Description |
|---|---|
Wave |
callCommand(Class<? extends Command> commandClass,
WaveData<?>... data)
Send a wave used to call a command.
|
Wave |
callCommand(Class<? extends CommandBean<? extends WaveBean>> commandClass,
WaveBean waveBean,
WaveBean... waveBeans)
Send a wave used to call a command.
|
<C extends Command> |
getCommand(Class<C> clazz,
Object... keyPart)
Return the command singleton or part of multiton.
|
<C extends Command> |
getCommand(UniqueKey<C> commandKey)
Return the command singleton or part of multiton according to
UniqueKey. |
<C extends Command> |
getCommands(Class<C> clazz,
Object... keyPart)
Return the list of command singleton or part of multiton.
|
<C extends Command> |
getCommands(UniqueKey<C> commandKey)
Return the list of command singleton or part of multiton according to
UniqueKey. |
<C extends Command> C getCommand(Class<C> clazz, Object... keyPart)
C - a sub class of commandclazz - the service class to findkeyPart - the unique key (in option)<C extends Command> C getCommand(UniqueKey<C> commandKey)
UniqueKey.<C extends Command> List<C> getCommands(Class<C> clazz, Object... keyPart)
C - a sub class of commandclazz - the service class to findkeyPart - the unique key (in option)<C extends Command> List<C> getCommands(UniqueKey<C> commandKey)
UniqueKey.Wave callCommand(Class<? extends Command> commandClass, WaveData<?>... data)
commandClass - the command class to calldata - the data to transportWave callCommand(Class<? extends CommandBean<? extends WaveBean>> commandClass, WaveBean waveBean, WaveBean... waveBeans)
WB - the type of the wave bean to usedcommandClass - the command class to callwaveBean - the WaveBean that holds all required datawaveBeans - the extra Wave Beans that holds all other required dataCopyright © 2011–2018 JRebirth OSS. All rights reserved.