|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface NotificationCondition
Method Summary | |
---|---|
java.lang.String |
getConfigurationData()
Deprecated. Returns the string representation of the configurable data in the condition objext to be persisted |
java.lang.String |
getDescription()
Deprecated. Returns generic string description of this condition |
java.lang.String |
getEditHtml()
Deprecated. Returns the html to be displayed on the edit screen (to input data into condition) |
java.lang.String |
getEmailSubject(com.atlassian.event.Event event)
Deprecated. |
java.lang.String |
getIMContent(com.atlassian.event.Event event)
Deprecated. |
java.lang.String |
getKey()
Deprecated. returns key for this condition object |
com.atlassian.mail.Email |
getTextEmail(com.atlassian.event.Event event,
com.atlassian.mail.Email email)
Deprecated. Takes in email object and sets body, subject and mimeType (and any other details you want eg. |
java.lang.String |
getViewHtml()
Deprecated. Returns the HTML representing the condition object for the notification |
void |
init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
Deprecated. initialises the condition object with its module descriptor |
void |
init(java.lang.String data)
Deprecated. initalises the condition object with data based on the config xml string |
boolean |
isNotificationRequired(com.atlassian.event.Event event)
Deprecated. determines whether or not a notification should be sent based on the event |
void |
populate(java.util.Map<java.lang.String,java.lang.String[]> config)
Deprecated. 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)
Deprecated. validate the user inputed data |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
void init(@NotNull com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
moduleDescriptor
- for this plugin objectvoid init(@Nullable java.lang.String data)
data
- string representation of configurable data@NotNull java.lang.String getDescription()
@NotNull java.lang.String getKey()
@NotNull java.lang.String getConfigurationData()
void populate(@NotNull java.util.Map<java.lang.String,java.lang.String[]> config)
config
- 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()
boolean isNotificationRequired(@NotNull com.atlassian.event.Event event)
event
-
com.atlassian.mail.Email getTextEmail(@NotNull com.atlassian.event.Event event, @NotNull com.atlassian.mail.Email email) throws java.lang.Exception
event
- Event Object (eg BuildCompletedEvent) that the notification is fired onemail
- Email object for condition to add body and attachments etc
java.lang.Exception
- if there is a problem preventing production of the e-mail.@NotNull java.lang.String getIMContent(@NotNull com.atlassian.event.Event event)
event
- Event Object that the notification is fired based on
@NotNull java.lang.String getEmailSubject(@NotNull com.atlassian.event.Event event)
event
- Event Object that the notification is fired based on
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |