Class GitLabConnectionProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty.DescriptorImpl
- Enclosing class:
- GitLabConnectionProperty
@Extension
@Symbol("gitLabConnection")
public static class GitLabConnectionProperty.DescriptorImpl
extends JobPropertyDescriptor
-
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
-
Method Summary
Modifier and TypeMethodDescriptiondoFillJobCredentialIdItems
(Item item, String url, String jobCredentialId) doTestConnection
(String jobCredentialId, String gitLabConnection, Item item) boolean
isApplicable
(Class<? extends Job> jobType) JobProperty<?>
newInstance
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstance
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
isApplicable
- Overrides:
isApplicable
in classJobPropertyDescriptor
-
newInstance
public JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classJobPropertyDescriptor
- Throws:
Descriptor.FormException
-
doFillGitLabConnectionItems
-
doFillJobCredentialIdItems
public ListBoxModel doFillJobCredentialIdItems(@AncestorInPath Item item, @QueryParameter String url, @QueryParameter String jobCredentialId) -
doTestConnection
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doTestConnection(@QueryParameter String jobCredentialId, @QueryParameter String gitLabConnection, @AncestorInPath Item item)
-