@Component
public class NotificationResponse
extends java.lang.Object
| Constructor and Description |
|---|
NotificationResponse() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
zipResponse(java.util.List<java.lang.String> messages,
int timeout,
java.lang.String icon,
java.lang.String colour,
java.lang.String file,
boolean success)
Construct a zipResponse for replying to a file-upload and display in a quasar notification.
|
java.lang.String |
zipResponse(java.lang.String message,
int timeout,
java.lang.String icon,
java.lang.String colour,
java.lang.String file,
boolean success)
Construct a zipResponse for replying to a file-upload and display in a quasar notification.
|
public java.lang.String zipResponse(java.util.List<java.lang.String> messages,
int timeout,
java.lang.String icon,
java.lang.String colour,
java.lang.String file,
boolean success)
messages - A list of messages.timeout - The timeout in ms until the message gets automatically discarded.icon - The icon to be displayed in the message.colour - The colour of the message.file - The file name, if available.success - To indicate a successfull event or not.public java.lang.String zipResponse(java.lang.String message,
int timeout,
java.lang.String icon,
java.lang.String colour,
java.lang.String file,
boolean success)
message - The message itself.timeout - The timeout in ms until the message gets automatically discarded.icon - The icon to be displayed in the message.colour - The colour of the message.file - The file name, if available.success - To indicate a successfull event or not.