public class SmackXmppMessageSender extends Object implements XmppMessageSender
XMPP_GROUPS, XMPP_RECIPIENTS, XMPP_REQUIRED
Constructor and Description |
---|
SmackXmppMessageSender() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj) |
boolean |
equals(Object o) |
List |
getGroupsToNotify() |
String |
getRecipients() |
int |
hashCode() |
boolean |
isRequired() |
void |
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Update the current object with data in the
HierarchicalConfiguration |
void |
setGroupsToNotify(List groupsToNotify) |
void |
setIsRequired(boolean isRequired) |
void |
setRecipients(String recipients) |
org.apache.commons.configuration.HierarchicalConfiguration |
toConfiguration()
Generate a
HierarchicalConfiguration from the current state of the object |
ErrorCollection |
validate()
Ensures the user has entered a xmpp configuration that we can authenticate against and connect to
|
public void setIsRequired(boolean isRequired)
setIsRequired
in interface XmppMessageSender
public boolean isRequired()
isRequired
in interface XmppMessageSender
public String getRecipients()
getRecipients
in interface XmppMessageSender
public void setRecipients(String recipients)
setRecipients
in interface XmppMessageSender
public ErrorCollection validate()
validate
in interface XmppMessageSender
public void populateFromConfig(@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
ConvertibleFromConfig
HierarchicalConfiguration
populateFromConfig
in interface ConvertibleFromConfig
@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfig
HierarchicalConfiguration
from the current state of the objecttoConfiguration
in interface ConvertibleFromConfig
HierarchicalConfiguration
. Never nullpublic List getGroupsToNotify()
getGroupsToNotify
in interface XmppMessageSender
public void setGroupsToNotify(List groupsToNotify)
setGroupsToNotify
in interface XmppMessageSender
public int compareTo(Object obj)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.