W - BoundedWindow subclass used to represent the windows used by this
OnTimerEventpublic static class Trigger.OnTimerEvent<W extends BoundedWindow>
extends java.lang.Object
| Constructor and Description |
|---|
Trigger.OnTimerEvent(Trigger.TriggerId<W> triggerId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChildIndex()
Return the index of the child this trigger ID is for.
|
boolean |
isForCurrentLayer()
Return true if the timer event is for the current layer.
|
Trigger.TriggerId<W> |
triggerId() |
W |
window() |
Trigger.OnTimerEvent<W> |
withoutOuterTrigger()
Remove the outer layer from the path to the desired timer.
|
public Trigger.OnTimerEvent(Trigger.TriggerId<W> triggerId)
public W window()
public Trigger.TriggerId<W> triggerId()
public Trigger.OnTimerEvent<W> withoutOuterTrigger()
OnTimerEvent suitable for passing to a subtrigger.public int getChildIndex()
public boolean isForCurrentLayer()