public interface WaveType
WaveItem parameters.| Modifier and Type | Method and Description |
|---|---|
String |
action()
Return the current action name.
|
WaveType |
action(String action)
Set the action name.
|
List<WaveItem<?>> |
items()
Return all WaveItems used by this WaveType.
|
WaveType |
items(WaveItem<?>... items)
Set all WaveItems used by the current WaveType used as parameter during wave handling.
|
String |
returnAction()
Return the return Wave Type action name.
|
WaveType |
returnAction(String action)
Set the return Wave Type action name.
|
Class<? extends Command> |
returnCommandClass()
Return the Command to call in order to process the returned value.
|
WaveType |
returnCommandClass(Class<? extends Command> returnCommandClass)
Set the Command to call in order to process the returned value.
|
WaveItem<?> |
returnItem()
Set the WaveItem returned.
|
WaveType |
returnItem(WaveItem<?> returnItem)
Return the WaveItem that hold the type sent to hold the current WaveType result.
|
WaveType |
returnWaveType()
Return the WaveType emitted as the result of the current WaveType.
|
int |
uid()
Return the unique identifier of the WaveType.
|
WaveType |
uid(int uid)
Sets the unique identifier of the WaveType.
|
int uid()
WaveType uid(int uid)
uid - the uid to setString action()
WaveType action(String action)
action - the action name to setList<WaveItem<?>> items()
WaveType items(WaveItem<?>... items)
items - the wave items to setString returnAction()
WaveType returnAction(String action)
action - the return action name to setWaveItem<?> returnItem()
WaveType returnItem(WaveItem<?> returnItem)
returnItem - the return WaveItem to setWaveType returnWaveType()
WaveType returnCommandClass(Class<? extends Command> returnCommandClass)
returnCommandClass - the command class to setCopyright © 2011–2015 JRebirth OSS. All rights reserved.