hudson.plugins.emailext
Class ExtendedEmailPublisherDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor
- All Implemented Interfaces:
- hudson.model.Saveable
- Direct Known Subclasses:
- ExtendedEmailPublisher.DescriptorImpl
public class ExtendedEmailPublisherDescriptor
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
These settings are global configurations
Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
Fields inherited from class hudson.model.Descriptor |
clazz |
Fields inherited from interface hudson.model.Saveable |
NOOP |
Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedEmailPublisherDescriptor
public ExtendedEmailPublisherDescriptor()
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
getAdminAddress
public String getAdminAddress()
getDefaultSuffix
public String getDefaultSuffix()
createSession
public javax.mail.Session createSession()
- JavaMail session.
getHudsonUrl
public String getHudsonUrl()
getSmtpServer
public String getSmtpServer()
getSmtpAuthUsername
public String getSmtpAuthUsername()
getSmtpAuthPassword
public String getSmtpAuthPassword()
getUseSsl
public boolean getUseSsl()
getSmtpPort
public String getSmtpPort()
getCharset
public String getCharset()
getDefaultContentType
public String getDefaultContentType()
getDefaultSubject
public String getDefaultSubject()
getDefaultBody
public String getDefaultBody()
getEmergencyReroute
public String getEmergencyReroute()
getMaxAttachmentSize
public long getMaxAttachmentSize()
getMaxAttachmentSizeMb
public long getMaxAttachmentSizeMb()
getDefaultRecipients
public String getDefaultRecipients()
getOverrideGlobalSettings
public boolean getOverrideGlobalSettings()
getListId
public String getListId()
getPrecedenceBulk
public boolean getPrecedenceBulk()
isApplicable
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
- Specified by:
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
newInstance
public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
newInstance
in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
configure
in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
getHelpFile
public String getHelpFile()
- Overrides:
getHelpFile
in class hudson.model.Descriptor<hudson.tasks.Publisher>
doAddressCheck
public hudson.util.FormValidation doAddressCheck(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doRecipientListRecipientsCheck
public hudson.util.FormValidation doRecipientListRecipientsCheck(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doMaxAttachmentSizeCheck
public hudson.util.FormValidation doMaxAttachmentSizeCheck(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
isMatrixProject
public boolean isMatrixProject(hudson.model.AbstractProject<?,?> project)
Copyright © 2004-2012. All Rights Reserved.