Package tigase.push
Class PlainNotification
- java.lang.Object
-
- tigase.push.PlainNotification
-
- All Implemented Interfaces:
INotification,IPlainNotification
public class PlainNotification extends java.lang.Object implements IPlainNotification
Created by andrzej on 02.01.2017.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface tigase.push.api.INotification
INotification.Priority, INotification.Processor<T>, INotification.Type
-
-
Constructor Summary
Constructors Constructor Description PlainNotification(tigase.xmpp.jid.BareJID account, INotification.Priority priority, java.lang.Long messageCount, tigase.xmpp.jid.JID lastMessageSender, java.lang.String lastMessageBody, java.lang.String groupchatSenderNickname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description tigase.xmpp.jid.BareJIDgetAccount()java.lang.StringgetGroupchatSenderNickname()java.lang.StringgetLastMessageBody()tigase.xmpp.jid.JIDgetLastMessageSender()java.lang.LonggetMessageCount()INotification.PrioritygetPriority()INotification.TypegetType()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tigase.push.api.IPlainNotification
ifGroupchatSenderNickname, ifLastMessageBody, ifLastMessageSender, ifMessageCount
-
-
-
-
Constructor Detail
-
PlainNotification
public PlainNotification(tigase.xmpp.jid.BareJID account, INotification.Priority priority, java.lang.Long messageCount, tigase.xmpp.jid.JID lastMessageSender, java.lang.String lastMessageBody, java.lang.String groupchatSenderNickname)
-
-
Method Detail
-
getMessageCount
public java.lang.Long getMessageCount()
- Specified by:
getMessageCountin interfaceIPlainNotification
-
getLastMessageSender
public tigase.xmpp.jid.JID getLastMessageSender()
- Specified by:
getLastMessageSenderin interfaceIPlainNotification
-
getLastMessageBody
public java.lang.String getLastMessageBody()
- Specified by:
getLastMessageBodyin interfaceIPlainNotification
-
getAccount
public tigase.xmpp.jid.BareJID getAccount()
- Specified by:
getAccountin interfaceINotification
-
getPriority
public INotification.Priority getPriority()
- Specified by:
getPriorityin interfaceINotification
-
getGroupchatSenderNickname
public java.lang.String getGroupchatSenderNickname()
- Specified by:
getGroupchatSenderNicknamein interfaceIPlainNotification
-
getType
public INotification.Type getType()
- Specified by:
getTypein interfaceINotification
-
-