java.lang.Object | |
↳ | com.urbanairship.automation.TriggerContext |
Triggering context for an automation schedule.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TriggerContext(Trigger trigger, JsonValue event)
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
static TriggerContext | fromJson(JsonValue jsonValue) | ||||||||||
JsonValue |
getEvent()
Gets the triggering event.
| ||||||||||
Trigger |
getTrigger()
Gets the trigger.
| ||||||||||
int | hashCode() | ||||||||||
JsonValue |
toJsonValue()
Returns the objects represented as a JsonValue.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.urbanairship.json.JsonSerializable
|
Default constructor.
trigger | The trigger. |
---|---|
event | The final event that triggered the schedule. |
Returns the objects represented as a JsonValue.