public class ServerNotification extends Notification
| Constructor and Description |
|---|
ServerNotification(String sender,
boolean state)
Constrói o evento de início do SSI.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getState()
Consulta ao modo start-up.
|
boolean |
isVolatile()
Definição da volatilidade da notificação.
|
String |
toString()
String para auditagem.
|
getDisplay, getMustPopUp, getSender, setDisplaygetCreationDatepublic ServerNotification(String sender, boolean state)
sender - Quem está enviando a notificação (não pode ser null).state - estado on/off.public boolean getState()
true se o servidor entrou no ar, false
caao contrário.public boolean isVolatile()
isVolatile in class Notificationpublic String toString()
toString in class NotificationCopyright © 2021. All rights reserved.