Constructor
new StatusMessage(pProgress, pMessage)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
pProgress |
Integer | |
pMessage |
String |
Methods
(static) newError(pProgress, pMessage) → {StatusMessage}
- Source:
To create a messsage with "error" flag
Parameters:
Name | Type | Description |
---|---|---|
pProgress |
Integer | |
pMessage |
String |
Returns:
- Type
- StatusMessage
(static) newSuccess(pMessage) → {StatusMessage}
- Source:
To create a message with "success" flag
Parameters:
Name | Type | Description |
---|---|---|
pMessage |
String |
Returns:
- Type
- StatusMessage
append(pMsg)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
pMsg |
* |
getExtra()
- Source:
getMessage()
- Source:
getProgress()
- Source:
toJsonObject()
- Source:
To export to a poor object, ready to be serialized into JSON format