public class CommandPersistenceNotification extends Notification
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandPersistenceNotification.Type
Indica o tipo do evento.
|
| Constructor and Description |
|---|
CommandPersistenceNotification(String sender,
Object projectId,
String commandId,
CommandPersistenceNotification.Type type)
Cria o evento.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandId()
Obtém o identificador do comando.
|
Object |
getProjectId()
Obtém o identificador do projeto.
|
CommandPersistenceNotification.Type |
getType()
Obtém o identificador do tipo de evento.
|
boolean |
isVolatile()
Definição da volatilidade da notificação.
|
String |
toString()
Requer esta implementação apenas para auditagem nos logs do servidor.
|
getDisplay, getMustPopUp, getSender, setDisplaygetCreationDatepublic CommandPersistenceNotification(String sender, Object projectId, String commandId, CommandPersistenceNotification.Type type)
sender - Quem está enviando a notificação (não pode ser null).projectId - O identificador do projeto (não pode ser null).commandId - O identificador do comando (não pode ser null).type - o tipopublic String getCommandId()
public Object getProjectId()
public CommandPersistenceNotification.Type getType()
public boolean isVolatile()
isVolatile in class Notificationpublic String toString()
toString in class NotificationCopyright © 2018. All rights reserved.