public class TextOutputCallback extends AbstractCallback
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR
Error message.
|
static int |
INFORMATION
Information message.
|
static int |
WARNING
Warning message.
|
_id, content, VALUE| Constructor and Description |
|---|
TextOutputCallback() |
TextOutputCallback(org.json.JSONObject raw,
int index) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
The message
|
int |
getMessageType()
The message type
|
java.lang.String |
getType()
Return the type of the Callback, the type name should align with the Callback type returned
from AM
|
protected void |
setAttribute(java.lang.String name,
java.lang.Object value) |
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValuepublic static final int INFORMATION
public static final int WARNING
public static final int ERROR
public TextOutputCallback(org.json.JSONObject raw,
int index)
public TextOutputCallback()
protected void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class AbstractCallbackpublic java.lang.String getType()
Callbackpublic int getMessageType()
public java.lang.String getMessage()