public interface CustomAction
| Modifier and Type | Interface and Description |
|---|---|
static class |
CustomAction.Status
Status of the CustomAction when there is a failure,
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActionId() |
String |
getBundleId() |
String |
getDeviceId() |
com.google.gson.JsonObject |
getPayload() |
String |
getReqId() |
String |
getTypeId() |
void |
setStatus(CustomAction.Status status)
Set the failure status of the current custom action
The Custom Action handler must use this method to report the failure status back to IBM Watson IoT Platform whenever there is a failure. |
void |
setStatus(CustomAction.Status status,
String message)
Set the failure status of the current custom action
The Custom Action handler must use this method to report the failure status back to IBM Watson IoT Platform whenever there is a failure. |
void setStatus(CustomAction.Status status)
Set the failure status of the current custom action
The Custom Action handler must use this method to report
the failure status back to IBM Watson IoT Platform whenever
there is a failure.
status - Failure status of the current custom actionvoid setStatus(CustomAction.Status status, String message)
Set the failure status of the current custom action
The Custom Action handler must use this method to report
the failure status back to IBM Watson IoT Platform whenever
there is a failure.
status - Failure status of the current custom actionmessage - Failure message to be reportedString getTypeId()
String getDeviceId()
String getBundleId()
com.google.gson.JsonObject getPayload()
String getActionId()
String getReqId()
Copyright © 2019. All rights reserved.