hudson.plugins.emailext
Class ExtendedEmailPublisher.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.emailext.ExtendedEmailPublisher.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
ExtendedEmailPublisher

public static final class ExtendedEmailPublisher.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ExtendedEmailPublisher.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 javax.mail.Session createSession()
          JavaMail session.
 hudson.util.FormValidation doAddressCheck(java.lang.String value)
           
 hudson.util.FormValidation doRecipientListRecipientsCheck(java.lang.String value)
           
 java.lang.String getAdminAddress()
           
 java.lang.String getDefaultBody()
           
 java.lang.String getDefaultContentType()
           
 java.lang.String getDefaultSubject()
           
 java.lang.String getDefaultSuffix()
           
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
 java.lang.String getHudsonUrl()
           
 boolean getOverrideGlobalSettings()
           
 java.lang.String getSmtpAuthPassword()
           
 java.lang.String getSmtpAuthUsername()
           
 java.lang.String getSmtpPort()
           
 java.lang.String getSmtpServer()
           
 boolean getUseSsl()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 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
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedEmailPublisher.DescriptorImpl

public ExtendedEmailPublisher.DescriptorImpl()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

getAdminAddress

public java.lang.String getAdminAddress()

getDefaultSuffix

public java.lang.String getDefaultSuffix()

createSession

public javax.mail.Session createSession()
JavaMail session.


getHudsonUrl

public java.lang.String getHudsonUrl()

getSmtpServer

public java.lang.String getSmtpServer()

getSmtpAuthUsername

public java.lang.String getSmtpAuthUsername()

getSmtpAuthPassword

public java.lang.String getSmtpAuthPassword()

getUseSsl

public boolean getUseSsl()

getSmtpPort

public java.lang.String getSmtpPort()

getDefaultContentType

public java.lang.String getDefaultContentType()

getDefaultSubject

public java.lang.String getDefaultSubject()

getDefaultBody

public java.lang.String getDefaultBody()

getOverrideGlobalSettings

public boolean getOverrideGlobalSettings()

isApplicable

public boolean isApplicable(java.lang.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 java.lang.String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>

doAddressCheck

public hudson.util.FormValidation doAddressCheck(@QueryParameter
                                                 java.lang.String value)
                                          throws java.io.IOException,
                                                 javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doRecipientListRecipientsCheck

public hudson.util.FormValidation doRecipientListRecipientsCheck(@QueryParameter
                                                                 java.lang.String value)
                                                          throws java.io.IOException,
                                                                 javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2010. All Rights Reserved.