Class DSLPublisher.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
org.jenkinsci.plugins.vmanager.dsl.post.DSLPublisher.DescriptorImpl
- Enclosing class:
- DSLPublisher
@Extension
public static final class DSLPublisher.DescriptorImpl
extends BuildStepDescriptor<Publisher>
-
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
ConstructorsConstructorDescriptionIn order to load the persisted global configuration, you have to call load() in the constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) doCheckVAPICredentials(Item item, String value) doCheckVAPIUrl(String value) doFillVAPICredentialsItems(Item item, String vAPICredentials) doTestConnection(String vAPIUser, Secret vAPIPassword, String vAPIUrl, boolean authRequired, String credentialType, String vAPICredentials, Item item) This human readable name is used in the configuration screen.booleanisApplicable(Class<? extends AbstractProject> aClass) Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()In order to load the persisted global configuration, you have to call load() in the constructor.
-
-
Method Details
-
isApplicable
- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>
-
doFillVManagerVersionItems
-
getDisplayName
This human readable name is used in the configuration screen.- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configurein classDescriptor<Publisher>- Throws:
Descriptor.FormException
-
doTestConnection
@POST public FormValidation doTestConnection(@QueryParameter("vAPIUser") String vAPIUser, @QueryParameter("vAPIPassword") Secret vAPIPassword, @QueryParameter("vAPIUrl") String vAPIUrl, @QueryParameter("authRequired") boolean authRequired, @QueryParameter("credentialType") String credentialType, @QueryParameter("vAPICredentials") String vAPICredentials, @AncestorInPath Item item) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
doCheckVAPIUrl
public FormValidation doCheckVAPIUrl(@QueryParameter String value) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
doFillVAPICredentialsItems
public ListBoxModel doFillVAPICredentialsItems(@AncestorInPath Item item, @QueryParameter String vAPICredentials) -
doCheckVAPICredentials
public FormValidation doCheckVAPICredentials(@AncestorInPath Item item, @QueryParameter String value)
-