Package com.atlassian.bamboo.xmpp
Interface XmppMessageSender
-
- All Superinterfaces:
ConvertibleFromConfig
- All Known Implementing Classes:
SmackXmppMessageSender
public interface XmppMessageSender extends ConvertibleFromConfig
-
-
Field Summary
Fields Modifier and Type Field Description static StringXMPP_GROUPSstatic StringXMPP_RECIPIENTSstatic StringXMPP_REQUIRED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListgetGroupsToNotify()StringgetRecipients()booleanisRequired()voidsetGroupsToNotify(List groupsToNotify)voidsetIsRequired(boolean isRequired)voidsetRecipients(String recipients)ErrorCollectionvalidate()Ensures the user has entered a xmpp configuration that we can authenticate against and connect to-
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
-
-
-
-
Field Detail
-
XMPP_GROUPS
static final String XMPP_GROUPS
- See Also:
- Constant Field Values
-
XMPP_REQUIRED
static final String XMPP_REQUIRED
- See Also:
- Constant Field Values
-
XMPP_RECIPIENTS
static final String XMPP_RECIPIENTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setIsRequired
void setIsRequired(boolean isRequired)
-
isRequired
boolean isRequired()
-
getRecipients
String getRecipients()
-
setRecipients
void setRecipients(String recipients)
-
validate
ErrorCollection validate()
Ensures the user has entered a xmpp configuration that we can authenticate against and connect to- Returns:
- The validation errors. An empty list of there are no errors
-
getGroupsToNotify
List getGroupsToNotify()
-
setGroupsToNotify
void setGroupsToNotify(List groupsToNotify)
-
-