| Package | Description |
|---|---|
| org.jrebirth.af.api.wave |
Provides classes used to send waves and perform them.
|
| org.jrebirth.af.api.wave.contract |
Provides class that define Wave contract.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Wave |
Wave.add(WaveItem<T> waveItem,
T value)
Add a wave data.
|
boolean |
Wave.contains(WaveItem<?> waveItem)
Check if an object exists.
|
boolean |
Wave.containsNotNull(WaveItem<?> waveItem)
Check if an object exists and if it isn't null.
|
<T> T |
Wave.get(WaveItem<T> waveItem)
Retrieve a value.
|
<T> WaveData<T> |
Wave.getData(WaveItem<T> waveItem)
Retrieve a wave data object.
|
| Modifier and Type | Method and Description |
|---|---|
WaveItem<T> |
WaveData.getKey() |
WaveItem<?> |
WaveType.returnItem()
Set the WaveItem returned.
|
| Modifier and Type | Method and Description |
|---|---|
List<WaveItem<?>> |
WaveType.items()
Return all WaveItems used by this WaveType.
|
List<WaveItem<?>> |
WaveType.parameters()
Return only WaveItem that can be used as method parameter.
|
| Modifier and Type | Method and Description |
|---|---|
WaveType |
WaveType.items(WaveItem<?>... items)
Set all WaveItems used by the current WaveType used as parameter during wave handling.
|
WaveType |
WaveType.returnItem(WaveItem<?> returnItem)
Set the WaveItem that hold the type sent to hold the current WaveType result.
|
void |
WaveData.setKey(WaveItem<T> waveItem) |
Copyright © 2011–2015 JRebirth OSS. All rights reserved.