Class ConfigureMailServer

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.mail.ConfigureMailServer
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, 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 ConfigureMailServer extends GlobalAdminAction
See Also:
  • Constructor Details

    • ConfigureMailServer

      public ConfigureMailServer()
  • 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
    • validate

      public void validate()
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • edit

      public String edit() throws Exception
      Throws:
      Exception
    • delete

      public String delete() throws Exception
      Throws:
      Exception
    • testSMTPServer

      public String testSMTPServer(com.atlassian.mail.server.SMTPMailServer testSmtpMailServer) throws Exception
      Throws:
      Exception
    • save

      public String save() throws Exception
      Throws:
      Exception
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getFrom

      public String getFrom()
    • setFrom

      public void setFrom(String from)
    • getPrefix

      public String getPrefix()
    • setPrefix

      public void setPrefix(String prefix)
    • setRemovePrecedence

      public void setRemovePrecedence(boolean removePrecedence)
    • getRemovePrecedence

      public boolean getRemovePrecedence()
    • getUserName

      public String getUserName()
    • setUserName

      public void setUserName(String userName)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getHostName

      public String getHostName()
    • setHostName

      public void setHostName(String hostName)
    • getJndiName

      public String getJndiName()
    • setJndiName

      public void setJndiName(String jndiName)
    • getPasswordChange

      public String getPasswordChange()
    • setPasswordChange

      public void setPasswordChange(String passwordChange)
    • getSendTest

      public String getSendTest()
    • setSendTest

      public void setSendTest(String sendTest)
    • getTestRecipient

      public String getTestRecipient()
    • setTestRecipient

      public void setTestRecipient(String testRecipient)
    • getBambooMailer

      public BambooMailer getBambooMailer()
    • setBambooMailer

      public void setBambooMailer(BambooMailer bambooMailer)
    • isMailServerConfigured

      public boolean isMailServerConfigured()
    • getSmtpPort

      public String getSmtpPort()
    • setSmtpPort

      public void setSmtpPort(String smtpPort)
    • getChosenMailSetting

      public MailConfigurationService.MailMode getChosenMailSetting()
    • setChosenMailSetting

      public void setChosenMailSetting(MailConfigurationService.MailMode chosenMailSetting)
    • getEmailSettings

      public List<MailConfigurationService.MailMode> getEmailSettings()
    • getSmtpChoice

      public String getSmtpChoice()
    • getJndiChoice

      public String getJndiChoice()
    • isTlsRequired

      public boolean isTlsRequired()
    • setTlsRequired

      public void setTlsRequired(boolean tlsRequired)
    • setMailConfigurationService

      public void setMailConfigurationService(MailConfigurationService mailConfigurationService)