public class SystemHelper.SystemAnnouncement extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
_available |
private Map<String,String> |
_messages |
Constructor and Description |
---|
SystemAnnouncement()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addMessage(String lang,
String message)
Add a message to the list of announcements
|
Map<String,String> |
getMessages()
Get the messages by language
|
boolean |
isAvailable()
Is the system announcement available ?
|
void |
setAvailable(boolean available)
Set the availability of the system announcement
|
private boolean _available
public SystemAnnouncement()
public boolean isAvailable()
public Map<String,String> getMessages()
public void setAvailable(boolean available)
available
- true to set the system announcement available, false otherwisepublic void addMessage(String lang, String message)
lang
- the language of the messagemessage
- the message itself