Class ExtendedEmailPublisherDescriptor

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster

@Extension @Symbol({"email-ext","extendedEmailPublisher"}) public final class ExtendedEmailPublisherDescriptor extends BuildStepDescriptor<Publisher>
These settings are global configurations
  • Field Details

    • LOGGER

      public static final Logger LOGGER
  • Constructor Details

    • ExtendedEmailPublisherDescriptor

      public ExtendedEmailPublisherDescriptor()
  • Method Details

    • autoConfigure

      @Initializer(after=EXTENSIONS_AUGMENTED, before=JOB_LOADED) public static void autoConfigure()
    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Publisher>
    • getAdminAddress

      public String getAdminAddress()
    • getDefaultSuffix

      public String getDefaultSuffix()
    • setDefaultSuffix

      @DataBoundSetter public void setDefaultSuffix(String defaultSuffix)
    • getHudsonUrl

      public String getHudsonUrl()
    • getAddAccounts

      public List<MailAccount> getAddAccounts()
    • setAddAccounts

      @DataBoundSetter public void setAddAccounts(List<MailAccount> addAccounts)
    • getSmtpServer

      @Deprecated public String getSmtpServer()
      Deprecated.
    • setSmtpServer

      @Deprecated public void setSmtpServer(String smtpServer)
      Deprecated.
    • getSmtpUsername

      @Deprecated public String getSmtpUsername()
      Deprecated.
    • setSmtpUsername

      @Deprecated public void setSmtpUsername(String username)
      Deprecated.
    • getSmtpPassword

      @Deprecated public Secret getSmtpPassword()
      Deprecated.
    • setSmtpPassword

      @DataBoundSetter @Deprecated public void setSmtpPassword(String password)
      Deprecated.
    • setSmtpAuth

      public void setSmtpAuth(String userName, String password)
    • getUseSsl

      @Deprecated public boolean getUseSsl()
      Deprecated.
    • setUseSsl

      @Deprecated public void setUseSsl(boolean useSsl)
      Deprecated.
    • getSmtpPort

      @Deprecated public String getSmtpPort()
      Deprecated.
    • setSmtpPort

      @Deprecated public void setSmtpPort(String port)
      Deprecated.
    • getAdvProperties

      @Deprecated public String getAdvProperties()
      Deprecated.
    • setAdvProperties

      @Deprecated public void setAdvProperties(String advProperties)
      Deprecated.
    • getCharset

      public String getCharset()
    • setCharset

      @DataBoundSetter public void setCharset(String charset)
    • getDefaultContentType

      public String getDefaultContentType()
    • setDefaultContentType

      @DataBoundSetter public void setDefaultContentType(String contentType)
    • doCheckDefaultSuffix

      public FormValidation doCheckDefaultSuffix(@QueryParameter String value)
    • getDefaultSubject

      public String getDefaultSubject()
    • setDefaultSubject

      @DataBoundSetter public void setDefaultSubject(String subject)
    • getDefaultBody

      public String getDefaultBody()
    • setDefaultBody

      @DataBoundSetter public void setDefaultBody(String body)
    • getEmergencyReroute

      public String getEmergencyReroute()
    • setEmergencyReroute

      @DataBoundSetter public void setEmergencyReroute(String emergencyReroute)
    • getMaxAttachmentSize

      public long getMaxAttachmentSize()
    • setMaxAttachmentSize

      @DataBoundSetter public void setMaxAttachmentSize(long bytes)
    • getMailAccount

      public MailAccount getMailAccount()
    • setMailAccount

      @DataBoundSetter public void setMailAccount(MailAccount mailAccount)
    • getMaxAttachmentSizeMb

      public long getMaxAttachmentSizeMb()
    • setMaxAttachmentSizeMb

      @DataBoundSetter public void setMaxAttachmentSizeMb(long mb)
    • getDefaultRecipients

      public String getDefaultRecipients()
    • setDefaultRecipients

      @DataBoundSetter public void setDefaultRecipients(String recipients)
    • getAllowedDomains

      public String getAllowedDomains()
    • setAllowedDomains

      @DataBoundSetter public void setAllowedDomains(String allowed)
    • getExcludedCommitters

      public String getExcludedCommitters()
    • setExcludedCommitters

      @DataBoundSetter public void setExcludedCommitters(String excluded)
    • getOverrideGlobalSettings

      @Deprecated public boolean getOverrideGlobalSettings()
      Deprecated.
    • getListId

      public String getListId()
    • setListId

      @DataBoundSetter public void setListId(String id)
    • getPrecedenceBulk

      public boolean getPrecedenceBulk()
    • setPrecedenceBulk

      @DataBoundSetter public void setPrecedenceBulk(boolean bulk)
    • getDefaultReplyTo

      public String getDefaultReplyTo()
    • setDefaultReplyTo

      @DataBoundSetter public void setDefaultReplyTo(String to)
    • isSecurityEnabled

      public boolean isSecurityEnabled()
    • isAdminRequiredForTemplateTesting

      public boolean isAdminRequiredForTemplateTesting()
    • setAdminRequiredForTemplateTesting

      @DataBoundSetter public void setAdminRequiredForTemplateTesting(boolean requireAdmin)
    • isWatchingEnabled

      public boolean isWatchingEnabled()
    • isAllowUnregisteredEnabled

      public boolean isAllowUnregisteredEnabled()
    • setWatchingEnabled

      @DataBoundSetter public void setWatchingEnabled(boolean enabled)
    • setAllowUnregisteredEnabled

      @DataBoundSetter public void setAllowUnregisteredEnabled(boolean enabled)
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
    • getDefaultPresendScript

      @CheckForNull public String getDefaultPresendScript()
    • setDefaultPresendScript

      @DataBoundSetter public void setDefaultPresendScript(@CheckForNull String script)
    • getDefaultPostsendScript

      @CheckForNull public String getDefaultPostsendScript()
    • setDefaultPostsendScript

      @DataBoundSetter public void setDefaultPostsendScript(@CheckForNull String script)
    • getDefaultClasspath

      public List<GroovyScriptPath> getDefaultClasspath()
    • setDefaultClasspath

      @DataBoundSetter public void setDefaultClasspath(List<GroovyScriptPath> defaultClasspath) throws Descriptor.FormException
      Throws:
      Descriptor.FormException
    • getDefaultTriggerIds

      public List<String> getDefaultTriggerIds()
    • setDefaultTriggerIds

      @DataBoundSetter public void setDefaultTriggerIds(List<String> triggerIds)
    • doFillDefaultContentTypeItems

      public ListBoxModel doFillDefaultContentTypeItems()
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<Publisher>
      Throws:
      Descriptor.FormException
    • getHelpFile

      public String getHelpFile()
      Overrides:
      getHelpFile in class Descriptor<Publisher>
    • doAddressCheck

      public FormValidation doAddressCheck(@QueryParameter String value)
    • doRecipientListRecipientsCheck

      public FormValidation doRecipientListRecipientsCheck(@QueryParameter String value)
    • doMaxAttachmentSizeCheck

      public FormValidation doMaxAttachmentSizeCheck(@QueryParameter String value)
    • isMatrixProject

      public boolean isMatrixProject(Object project)
    • isDebugMode

      public boolean isDebugMode()
    • setDebugMode

      public void setDebugMode(boolean debugMode)
    • debug

      public void debug(PrintStream logger, String format, Object... args)
    • getRequiredGlobalConfigPagePermission

      @NonNull public Permission getRequiredGlobalConfigPagePermission()
      Overrides:
      getRequiredGlobalConfigPagePermission in class Descriptor<Publisher>