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.BareJID
getAccount()
java.lang.String
getGroupchatSenderNickname()
java.lang.String
getLastMessageBody()
tigase.xmpp.jid.JID
getLastMessageSender()
java.lang.Long
getMessageCount()
INotification.Priority
getPriority()
INotification.Type
getType()
-
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:
getMessageCount
in interfaceIPlainNotification
-
getLastMessageSender
public tigase.xmpp.jid.JID getLastMessageSender()
- Specified by:
getLastMessageSender
in interfaceIPlainNotification
-
getLastMessageBody
public java.lang.String getLastMessageBody()
- Specified by:
getLastMessageBody
in interfaceIPlainNotification
-
getAccount
public tigase.xmpp.jid.BareJID getAccount()
- Specified by:
getAccount
in interfaceINotification
-
getPriority
public INotification.Priority getPriority()
- Specified by:
getPriority
in interfaceINotification
-
getGroupchatSenderNickname
public java.lang.String getGroupchatSenderNickname()
- Specified by:
getGroupchatSenderNickname
in interfaceIPlainNotification
-
getType
public INotification.Type getType()
- Specified by:
getType
in interfaceINotification
-
-