@Extension public static final class Mailer.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
filteraddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic String getDisplayName()
getDisplayName in class Descriptor<Publisher>public String getDefaultSuffix()
public String getReplyToAddress()
public void setReplyToAddress(String address)
public javax.mail.Session createSession()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
configure in class Descriptor<Publisher>Descriptor.FormExceptionpublic String getSmtpServer()
public String getAdminAddress()
JenkinsLocationConfigurationpublic String getUrl()
JenkinsLocationConfigurationpublic String getSmtpAuthUserName()
public String getSmtpAuthPassword()
public Secret getSmtpAuthPasswordSecret()
public boolean getUseSsl()
public String getSmtpPort()
public String getSmtpHost()
public String getCharset()
public void setDefaultSuffix(String defaultSuffix)
public void setHudsonUrl(String hudsonUrl)
JenkinsLocationConfigurationpublic void setAdminAddress(String adminAddress)
JenkinsLocationConfigurationpublic void setSmtpHost(String smtpHost)
public void setUseSsl(boolean useSsl)
public void setSmtpPort(String smtpPort)
public void setCharset(String chaset)
public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
newInstance in class Descriptor<Publisher>Descriptor.FormExceptionpublic FormValidation doAddressCheck(@QueryParameter String value)
public FormValidation doCheckSmtpServer(@QueryParameter String value)
public FormValidation doCheckDefaultSuffix(@QueryParameter String value)
public FormValidation doSendTestMail(@QueryParameter String smtpServer, @QueryParameter String adminAddress, @QueryParameter boolean useSMTPAuth, @QueryParameter String smtpAuthUserName, @QueryParameter Secret smtpAuthPasswordSecret, @QueryParameter boolean useSsl, @QueryParameter String smtpPort, @QueryParameter String charset, @QueryParameter String sendTestMailTo) throws IOException, javax.servlet.ServletException, InterruptedException
IOExceptionjavax.servlet.ServletExceptionInterruptedExceptionpublic boolean isApplicable(Class<? extends AbstractProject> jobType)
isApplicable in class BuildStepDescriptor<Publisher>Copyright © 2016–2019. All rights reserved.