hudson.plugins.emailext
Class ExtendedEmailPublisherDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ExtendedEmailPublisherDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 javax.mail.Session createSession()
          JavaMail session.
 hudson.util.FormValidation doAddressCheck(String value)
           
 hudson.util.FormValidation doMaxAttachmentSizeCheck(String value)
           
 hudson.util.FormValidation doRecipientListRecipientsCheck(String value)
           
 String getAdminAddress()
           
 String getCharset()
           
 String getDefaultBody()
           
 String getDefaultContentType()
           
 String getDefaultRecipients()
           
 String getDefaultSubject()
           
 String getDefaultSuffix()
           
 String getDisplayName()
           
 String getEmergencyReroute()
           
 String getHelpFile()
           
 String getHudsonUrl()
           
 String getListId()
           
 long getMaxAttachmentSize()
           
 long getMaxAttachmentSizeMb()
           
 boolean getOverrideGlobalSettings()
           
 boolean getPrecedenceBulk()
           
 String getSmtpAuthPassword()
           
 String getSmtpAuthUsername()
           
 String getSmtpPort()
           
 String getSmtpServer()
           
 boolean getUseSsl()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
           
 boolean isMatrixProject(hudson.model.AbstractProject<?,?> project)
           
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
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
 

Constructor Detail

ExtendedEmailPublisherDescriptor

public ExtendedEmailPublisherDescriptor()
Method Detail

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.