Class RequestMailSender.DescriptorEmailImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- com.michelin.cio.jenkins.plugin.requests.action.RequestMailSender.DescriptorEmailImpl
-
- Enclosing class:
- RequestMailSender
@Extension public static class RequestMailSender.DescriptorEmailImpl extends BuildStepDescriptor<Builder>
-
-
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
Constructors Constructor Description DescriptorEmailImpl()
-
Method Summary
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
getRequestemailserver
public String getRequestemailserver()
-
getRequestemailhost
public String getRequestemailhost()
-
getRequestmaildomain
public String getRequestmaildomain()
-
getRequestadminemail
public String getRequestadminemail()
-
getUnlockuser
public String getUnlockuser()
-
getUnlockpassword
public Secret getUnlockpassword()
-
setRequestemailserver
public void setRequestemailserver(String requestemailserver)
-
setRequestmaildomain
public void setRequestmaildomain(String requestmaildomain)
-
setRequestadminemail
public void setRequestadminemail(String requestadminemail)
-
setRequestemailhost
public void setRequestemailhost(String requestemailhost)
-
setUnlockuser
public void setUnlockuser(String unlockuser)
-
setUnlockpassword
public void setUnlockpassword(Secret unlockpassword)
-
getEnableDeleteJob
public boolean getEnableDeleteJob()
-
isEnableDeleteBuild
public boolean isEnableDeleteBuild()
-
isEnableUnlockBuild
public boolean isEnableUnlockBuild()
-
isEnablePromotionDeleteBuild
public boolean isEnablePromotionDeleteBuild()
-
isEnableRenameJob
public boolean isEnableRenameJob()
-
isEnableRenameFolder
public boolean isEnableRenameFolder()
-
isEnableEmails
public boolean isEnableEmails()
-
isEnableDeleteFolder
public boolean isEnableDeleteFolder()
-
isEnableDeleteMultiBranch
public boolean isEnableDeleteMultiBranch()
-
isEnableRenameMultiBranch
public boolean isEnableRenameMultiBranch()
-
setEnableDeleteJob
@DataBoundSetter public void setEnableDeleteJob(boolean enableDeleteJob)
-
setEnableDeleteBuild
@DataBoundSetter public void setEnableDeleteBuild(boolean enableDeleteBuild)
-
setEnableUnlockBuild
@DataBoundSetter public void setEnableUnlockBuild(boolean enableUnlockBuild)
-
setEnablePromotionDeleteBuild
@DataBoundSetter public void setEnablePromotionDeleteBuild(boolean enablePromotionDeleteBuild)
-
setEnableRenameJob
@DataBoundSetter public void setEnableRenameJob(boolean enableRenameJob)
-
setEnableRenameFolder
@DataBoundSetter public void setEnableRenameFolder(boolean enableRenameFolder)
-
setEnableDeleteFolder
@DataBoundSetter public void setEnableDeleteFolder(boolean enableDeleteFolder)
-
setEnableDeleteMultiBranch
@DataBoundSetter public void setEnableDeleteMultiBranch(boolean enableDeleteMultiBranch)
-
setEnableRenameMultiBranch
@DataBoundSetter public void setEnableRenameMultiBranch(boolean enableRenameMultiBranch)
-
setEnableEmails
public void setEnableEmails(boolean enableEmails)
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> arg0)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
doTestEmail
@POST public FormValidation doTestEmail(@QueryParameter("testEmailAddress") String testEmailAddress) throws javax.mail.MessagingException, UnknownHostException
- Throws:
javax.mail.MessagingException
UnknownHostException
-
-