|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
public abstract class AbstractNotificationRecipient
Field Summary | |
---|---|
protected NotificationRecipientModuleDescriptor |
notificationRecipientModuleDescriptor
|
Constructor Summary | |
---|---|
AbstractNotificationRecipient()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
java.lang.String |
getDescription()
Returns generic string description of this notification type |
java.lang.String |
getEditHtml()
Returns the html to be displayed on the edit screen (to input data into notification type) |
java.lang.String |
getKey()
returns full key for this condition object |
com.atlassian.plugin.web.descriptors.WeightedDescriptor |
getModuleDescriptor()
returns the moduleDescriptor for this plugin object if it exists. |
protected java.lang.String |
getParam(java.lang.String param,
java.util.Map<java.lang.String,java.lang.String[]> params)
|
java.lang.String |
getRecipientConfig()
Retrieve string representation of data - if none exists retrun empty string |
java.lang.String |
getViewHtml()
Returns the HTML representing the notification type for the notification |
void |
init(java.lang.String configurationData)
Initialise recipient with string based represention of its configuration data |
void |
init(com.atlassian.plugin.web.descriptors.WeightedDescriptor moduleDescriptor)
initialises the notification type plugin object with its module descriptor |
void |
populate(java.util.Map<java.lang.String,java.lang.String[]> params)
takes the map of config data from action and extracts the parameters it needs |
ErrorCollection |
validate(java.util.Map<java.lang.String,java.lang.String[]> params)
validate the user inputed data |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.notification.NotificationRecipient |
---|
getTransports |
Field Detail |
---|
protected NotificationRecipientModuleDescriptor notificationRecipientModuleDescriptor
Constructor Detail |
---|
public AbstractNotificationRecipient()
Method Detail |
---|
public void init(@NotNull com.atlassian.plugin.web.descriptors.WeightedDescriptor moduleDescriptor)
NotificationRecipient
init
in interface NotificationRecipient
moduleDescriptor
- for this plugin object@Nullable public com.atlassian.plugin.web.descriptors.WeightedDescriptor getModuleDescriptor()
NotificationRecipient
getModuleDescriptor
in interface NotificationRecipient
@NotNull public java.lang.String getDescription()
NotificationRecipient
getDescription
in interface NotificationRecipient
@NotNull public java.lang.String getKey()
NotificationRecipient
getKey
in interface NotificationRecipient
public void init(@Nullable java.lang.String configurationData)
NotificationRecipient
init
in interface NotificationRecipient
@NotNull public java.lang.String getRecipientConfig()
NotificationRecipient
getRecipientConfig
in interface NotificationRecipient
public void populate(@NotNull java.util.Map<java.lang.String,java.lang.String[]> params)
NotificationRecipient
populate
in interface NotificationRecipient
params
- map of key (String), value (String []) pairs from action@NotNull public ErrorCollection validate(@NotNull java.util.Map<java.lang.String,java.lang.String[]> params)
NotificationRecipient
validate
in interface NotificationRecipient
params
- map of key (String), value (String []) pairs from action
@NotNull public java.lang.String getEditHtml()
NotificationRecipient
getEditHtml
in interface NotificationRecipient
@NotNull public java.lang.String getViewHtml()
NotificationRecipient
getViewHtml
in interface NotificationRecipient
protected java.lang.String getParam(java.lang.String param, java.util.Map<java.lang.String,java.lang.String[]> params)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |