|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.notification.AbstractNotificationType com.atlassian.bamboo.notification.chain.AfterXFailedNotificationType
public class AfterXFailedNotificationType
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.NotificationType |
---|
NotificationType.Scope |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.notification.AbstractNotificationType |
---|
notificationTypeModuleDescriptor |
Constructor Summary | |
---|---|
AfterXFailedNotificationType()
|
Method Summary | |
---|---|
java.lang.String |
getConfigurationData()
Returns the string representation of the configurable data of the notification type to be persisted to the db |
java.lang.String |
getEditHtml()
Returns the html to be displayed on the edit screen (to input data into notification type) |
java.lang.String |
getViewHtml()
Returns the HTML representing the notification type for the notification |
boolean |
isNotificationRequired(com.atlassian.event.Event event)
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)
takes the map of config data from action and extracts the parameters it needs |
void |
setConfigurationData(java.lang.String data)
initalises the notification type object with its data based on the config string retrieved from the database |
void |
setPlanManager(PlanManager planManager)
|
void |
setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
|
void |
setTemplateRenderer(TemplateRenderer templateRenderer)
|
ErrorCollection |
validate(java.util.Map<java.lang.String,java.lang.String[]> params)
validate the user inputed data |
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationType |
---|
compareTo, getDescription, getKey, getModuleDescriptor, getName, getScope, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AfterXFailedNotificationType()
Method Detail |
---|
public void setConfigurationData(@Nullable java.lang.String data)
NotificationType
setConfigurationData
in interface NotificationType
setConfigurationData
in class AbstractNotificationType
data
- string representation of configurable data@NotNull public java.lang.String getConfigurationData()
NotificationType
getConfigurationData
in interface NotificationType
getConfigurationData
in class AbstractNotificationType
public boolean isNotificationRequired(@NotNull com.atlassian.event.Event event)
NotificationType
public void populate(@NotNull java.util.Map<java.lang.String,java.lang.String[]> config)
NotificationType
populate
in interface NotificationType
populate
in class AbstractNotificationType
config
- map of key (String), value (String []) pairs from action@NotNull public ErrorCollection validate(@NotNull java.util.Map<java.lang.String,java.lang.String[]> params)
NotificationType
validate
in interface NotificationType
validate
in class AbstractNotificationType
params
- map of key (String), value (String []) pairs from action
@NotNull public java.lang.String getEditHtml()
NotificationType
getEditHtml
in interface NotificationType
getEditHtml
in class AbstractNotificationType
@NotNull public java.lang.String getViewHtml()
NotificationType
getViewHtml
in interface NotificationType
getViewHtml
in class AbstractNotificationType
public void setTemplateRenderer(TemplateRenderer templateRenderer)
public void setPlanManager(PlanManager planManager)
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |