public abstract class Message extends Object
| Constructor and Description |
|---|
Message(boolean success) |
Message(boolean success,
List<Notification> notifications) |
Message(boolean success,
List<Notification> notifications,
String elementName) |
Message(boolean success,
Notification... notifications) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addNotification(Notification notification) |
String |
getElementName() |
List<Notification> |
getNotifications() |
boolean |
isSuccess() |
void |
setElementName(String elementName) |
void |
setNotifications(List<Notification> notifications) |
void |
setSuccess(boolean success) |
public Message(boolean success)
public Message(boolean success,
List<Notification> notifications)
public Message(boolean success,
List<Notification> notifications,
String elementName)
public Message(boolean success,
Notification... notifications)
public boolean isSuccess()
public void setSuccess(boolean success)
public List<Notification> getNotifications()
public void setNotifications(List<Notification> notifications)
public boolean addNotification(Notification notification)
public String getElementName()
public void setElementName(String elementName)
Copyright © 2019. All rights reserved.