public final class FileUpdateNotification extends Notification
| Modifier and Type | Class and Description |
|---|---|
static class |
FileUpdateNotification.Result
Representa o resultado de uma atualização.
|
| Constructor and Description |
|---|
FileUpdateNotification(java.lang.String sender,
java.lang.String filePath,
FileUpdateNotification.Result result)
Cria uma notificação sobre a atualização de um arquivo.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilePath()
Obtém o caminho do arquivo atualizado.
|
FileUpdateNotification.Result |
getResult()
Obtém o resultado da atualização.
|
boolean |
isVolatile()
Indica se a notificação é volátil ou não.
|
java.lang.String |
toString()
Requer esta implementação apenas para auditagem nos logs do servidor.
|
getDisplay, getMustPopUp, getSender, setDisplaygetCreationDatepublic FileUpdateNotification(java.lang.String sender,
java.lang.String filePath,
FileUpdateNotification.Result result)
sender - Quem está enviando a notificação (não pode ser null).filePath - O caminho do arquivo que está sendo atualizado.result - O resultado da atualização.public boolean isVolatile()
isVolatile in class Notificationpublic java.lang.String toString()
toString in class Notificationcsbase.client.util.NotificationTranslatorpublic java.lang.String getFilePath()
public FileUpdateNotification.Result getResult()
Copyright © 2015. All Rights Reserved.