java.lang.Object | |
↳ | com.urbanairship.actions.ActionResult |
Stores the results of running an Action
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | ActionResult.Status | The run status of the action. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Exception |
getException()
Retrieves the results exception.
| ||||||||||
ActionResult.Status |
getStatus()
Retrieves the status of the action run.
| ||||||||||
ActionValue |
getValue()
Retrieves the result value.
| ||||||||||
static ActionResult |
newEmptyResult()
Factory method to create an empty result
| ||||||||||
static ActionResult |
newErrorResult(Exception exception)
Factory method to create a result with an exception
| ||||||||||
static ActionResult |
newResult(ActionValue value)
Factory method to create a result with a value
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Retrieves the status of the action run.
Retrieves the result value.
Factory method to create a result with an exception
exception | The result value |
---|
Factory method to create a result with a value
value | The result value |
---|