|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITriggerState
Holds the state for a specific trigger. Gets updated every time the trigger receives an event. Any concrete getData method needs to provide sane default values.
Method Summary | |
---|---|
void |
finish()
Invalidate any data that is only valid once, for example push button events. |
Class<?> |
getKeyClass()
Get the class for identifying the type of trigger state. |
long |
getSequenceNumber()
Get the sequence number of this state to determine a temporal order. |
Class<? extends ITrigger> |
getTriggerClass()
Get the trigger class associated with this trigger state. |
void |
merge(ITriggerState previous)
Merge this state instance with the previous instance in case of delta trigger events. |
Method Detail |
---|
void merge(ITriggerState previous)
previous
- the previous instance of this trigger statevoid finish()
Class<? extends ITrigger> getTriggerClass()
Class<?> getKeyClass()
long getSequenceNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |