Class AdvisorGlobalConfiguration.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<AdvisorGlobalConfiguration>
-
- com.cloudbees.jenkins.plugins.advisor.AdvisorGlobalConfiguration.DescriptorImpl
-
- Enclosing class:
- AdvisorGlobalConfiguration
@Extension public static final class AdvisorGlobalConfiguration.DescriptorImpl extends Descriptor<AdvisorGlobalConfiguration>
-
-
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 DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
FormValidation
doCheckAcceptToS(boolean value)
FormValidation
doCheckEmail(String value)
FormValidation
doTestSendEmail(String value, boolean acceptToS)
String
getDisplayName()
String
validateServerConnection()
-
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
-
getDisplayName
@Nonnull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<AdvisorGlobalConfiguration>
-
doCheckAcceptToS
public FormValidation doCheckAcceptToS(@QueryParameter boolean value)
-
doCheckEmail
public FormValidation doCheckEmail(@QueryParameter String value)
-
doTestSendEmail
@POST public FormValidation doTestSendEmail(@QueryParameter("email") String value, @QueryParameter("acceptToS") boolean acceptToS)
-
validateServerConnection
public String validateServerConnection()
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
- Overrides:
configure
in classDescriptor<AdvisorGlobalConfiguration>
-
-