|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationRecipient
Representation of a recipient of notifications. Knows how to evaluate the mediums the recipient is to retrieve.
Method Summary | |
---|---|
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. |
java.lang.String |
getRecipientConfig()
Retrieve string representation of data - if none exists retrun empty string |
java.util.List<NotificationTransport> |
getTransports()
Evaluates the appropriate mediums for sending notificaions for this recipient, returning a list of appropriate transports. |
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 interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
@NotNull java.util.List<NotificationTransport> getTransports()
void init(@NotNull com.atlassian.plugin.web.descriptors.WeightedDescriptor moduleDescriptor)
moduleDescriptor
- for this plugin objectvoid init(@Nullable java.lang.String configurationData)
configurationData
- @NotNull java.lang.String getRecipientConfig()
@NotNull java.lang.String getDescription()
@NotNull java.lang.String getKey()
void populate(@NotNull java.util.Map<java.lang.String,java.lang.String[]> params)
params
- map of key (String), value (String []) pairs from action@NotNull ErrorCollection validate(@NotNull java.util.Map<java.lang.String,java.lang.String[]> params)
params
- map of key (String), value (String []) pairs from action
@NotNull java.lang.String getEditHtml()
@NotNull java.lang.String getViewHtml()
@Nullable com.atlassian.plugin.web.descriptors.WeightedDescriptor getModuleDescriptor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |