Package hudson.plugins.emailext
Class ExtendedEmailPublisherDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor
@Extension
@Symbol({"email-ext","extendedEmailPublisher"})
public final class ExtendedEmailPublisherDescriptor
extends BuildStepDescriptor<Publisher>
These settings are global configurations
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
boolean
configure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) void
debug
(PrintStream logger, String format, Object... args) doAddressCheck
(String value) doCheckDefaultSuffix
(String value) doMaxAttachmentSizeCheck
(String value) Deprecated.long
long
boolean
Deprecated.boolean
Deprecated.Deprecated.Deprecated.Deprecated.boolean
Deprecated.boolean
boolean
boolean
isApplicable
(Class<? extends AbstractProject> jobType) boolean
boolean
isMatrixProject
(Object project) boolean
boolean
boolean
void
setAddAccounts
(List<MailAccount> addAccounts) void
setAdminRequiredForTemplateTesting
(boolean requireAdmin) void
setAdvProperties
(String advProperties) Deprecated.void
setAllowedDomains
(String allowed) void
setAllowUnregisteredEnabled
(boolean enabled) void
setCharset
(String charset) void
setDebugMode
(boolean debugMode) void
setDefaultBody
(String body) void
setDefaultClasspath
(List<GroovyScriptPath> defaultClasspath) void
setDefaultContentType
(String contentType) void
setDefaultPostsendScript
(String script) void
setDefaultPresendScript
(String script) void
setDefaultRecipients
(String recipients) void
void
setDefaultSubject
(String subject) void
setDefaultSuffix
(String defaultSuffix) void
setDefaultTriggerIds
(List<String> triggerIds) void
setEmergencyReroute
(String emergencyReroute) void
setExcludedCommitters
(String excluded) void
void
setMailAccount
(MailAccount mailAccount) void
setMaxAttachmentSize
(long bytes) void
setMaxAttachmentSizeMb
(long mb) void
setPrecedenceBulk
(boolean bulk) void
setSmtpAuth
(String userName, String password) void
setSmtpPassword
(String password) Deprecated.void
setSmtpPort
(String port) Deprecated.void
setSmtpServer
(String smtpServer) Deprecated.void
setSmtpUsername
(String username) Deprecated.void
setThrottlingEnabled
(boolean throttlingEnabled) void
setUseSsl
(boolean useSsl) Deprecated.void
setWatchingEnabled
(boolean enabled) Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
LOGGER
-
-
Constructor Details
-
ExtendedEmailPublisherDescriptor
public ExtendedEmailPublisherDescriptor()
-
-
Method Details
-
autoConfigure
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
getAdminAddress
-
getDefaultSuffix
-
setDefaultSuffix
-
isThrottlingEnabled
public boolean isThrottlingEnabled() -
setThrottlingEnabled
@DataBoundSetter public void setThrottlingEnabled(boolean throttlingEnabled) -
getHudsonUrl
-
getAddAccounts
-
setAddAccounts
-
getSmtpServer
Deprecated. -
setSmtpServer
Deprecated. -
getSmtpUsername
Deprecated. -
setSmtpUsername
Deprecated. -
getSmtpPassword
Deprecated. -
setSmtpPassword
Deprecated. -
setSmtpAuth
-
getUseSsl
Deprecated. -
setUseSsl
Deprecated. -
getSmtpPort
Deprecated. -
setSmtpPort
Deprecated. -
getAdvProperties
Deprecated. -
setAdvProperties
Deprecated. -
getCharset
-
setCharset
-
getDefaultContentType
-
setDefaultContentType
-
doCheckDefaultSuffix
-
getDefaultSubject
-
setDefaultSubject
-
getDefaultBody
-
setDefaultBody
-
getEmergencyReroute
-
setEmergencyReroute
-
getMaxAttachmentSize
public long getMaxAttachmentSize() -
setMaxAttachmentSize
@DataBoundSetter public void setMaxAttachmentSize(long bytes) -
getMailAccount
-
setMailAccount
-
getMaxAttachmentSizeMb
public long getMaxAttachmentSizeMb() -
setMaxAttachmentSizeMb
@DataBoundSetter public void setMaxAttachmentSizeMb(long mb) -
getDefaultRecipients
-
setDefaultRecipients
-
getAllowedDomains
-
setAllowedDomains
-
getExcludedCommitters
-
setExcludedCommitters
-
getOverrideGlobalSettings
Deprecated. -
getListId
-
setListId
-
getPrecedenceBulk
public boolean getPrecedenceBulk() -
setPrecedenceBulk
@DataBoundSetter public void setPrecedenceBulk(boolean bulk) -
getDefaultReplyTo
-
setDefaultReplyTo
-
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
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDefaultPresendScript
-
setDefaultPresendScript
-
getDefaultPostsendScript
-
setDefaultPostsendScript
-
getDefaultClasspath
-
setDefaultClasspath
@DataBoundSetter public void setDefaultClasspath(List<GroovyScriptPath> defaultClasspath) throws Descriptor.FormException - Throws:
Descriptor.FormException
-
getDefaultTriggerIds
-
setDefaultTriggerIds
-
doFillDefaultContentTypeItems
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<Publisher>
-
doAddressCheck
-
doRecipientListRecipientsCheck
-
doMaxAttachmentSizeCheck
-
isMatrixProject
-
isDebugMode
public boolean isDebugMode() -
setDebugMode
public void setDebugMode(boolean debugMode) -
debug
-
getRequiredGlobalConfigPagePermission
- Overrides:
getRequiredGlobalConfigPagePermission
in classDescriptor<Publisher>
-