Class ConfigureBuildNotification

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BareBuildConfigurationAware, BuildConfigurationAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanEditSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ConfigureBuildNotification extends BuildConfigurationSupport implements PlanEditSecurityAware
only used by bulk action. but wait a sec, shouldn't we be using the chain one?
See Also:
  • Constructor Details

    • ConfigureBuildNotification

      public ConfigureBuildNotification()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: BambooActionSupport
      Default action just sends to the input
      Overrides:
      doDefault in class BambooActionSupport
      Throws:
      Exception
    • doAddNotification

      public String doAddNotification() throws Exception
      Throws:
      Exception
    • createNotification

      public String createNotification()
    • doDelete

      public String doDelete()
    • doEdit

      public String doEdit()
    • doUpdate

      public String doUpdate()
    • validateNotification

      public void validateNotification()
    • getAvailableRecipientTypes

      public Map<String,NotificationRecipient> getAvailableRecipientTypes()
    • getAllNotificationRecipientTypes

      public List<NotificationRecipient> getAllNotificationRecipientTypes()
      Method to get notification recipients for the ui
      Returns:
      List of all NotificationRecipient types to display on the UI
    • getAllNotificationEventTypes

      public List<NotificationType> getAllNotificationEventTypes()
      Method to get combined notification types and notification conditions for the ui
      Returns:
      List of all NotificationType options to display on the UI
    • getAvailableGroups

      public List<com.atlassian.user.Group> getAvailableGroups()
    • getAvailableUsers

      public List<String> getAvailableUsers()
    • getNotificationId

      public long getNotificationId()
    • setNotificationId

      public void setNotificationId(long notificationRowId)
    • getEdit

      public String getEdit()
    • setEdit

      public void setEdit(String edit)
    • getLastModified

      public long getLastModified()
    • setLastModified

      public void setLastModified(long lastModified)
    • getNotificationRecipientType

      public String getNotificationRecipientType()
    • setNotificationRecipientType

      public void setNotificationRecipientType(String notificationRecipientType)
    • getConditionKey

      public String getConditionKey()
    • setConditionKey

      public void setConditionKey(String conditionKey)
    • setNotificationManager

      public void setNotificationManager(NotificationManager notificationManager)
    • isMailServerConfigured

      public boolean isMailServerConfigured()
    • setInstantMessagingServerManager

      public void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)
    • isJabberServerConfigured

      public boolean isJabberServerConfigured()
    • getMailServerManager

      protected com.atlassian.mail.server.MailServerManager getMailServerManager()
    • getPreviousTypeData

      public String getPreviousTypeData()
    • setPreviousTypeData

      public void setPreviousTypeData(String previousTypeData)