public class TriggerMatch
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
int |
eventId
The event code matched in the lookup.
|
int |
matchedWidgetId
The widget that actually matched trigger lookup, the matched widget may differ from the source
widget.
|
int |
triggerId
Trigger ID found as a match.
|
Constructor and Description |
---|
TriggerMatch()
Default constructor
|
TriggerMatch(int eventId)
Create an instance for a given event code.
|
TriggerMatch(TriggerMatch other)
Initialize this instance as a copy of the other instance.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
public int eventId
public int triggerId
public int matchedWidgetId
public TriggerMatch()
public TriggerMatch(int eventId)
eventId
- The event code that is the subject of the lookup request.public TriggerMatch(TriggerMatch other)
other
- The other instance.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- Input source from which fields will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.