@Extension @Symbol(value="gitLabConnection") public static class GitLabConnectionProperty.DescriptorImpl extends JobPropertyDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
ListBoxModel |
doFillGitLabConnectionItems() |
ListBoxModel |
doFillJobCredentialIdItems(Item item,
String url,
String jobCredentialId) |
FormValidation |
doTestConnection(String jobCredentialId,
String gitLabConnection,
Item item) |
String |
getDisplayName() |
boolean |
isApplicable(Class<? extends Job> jobType) |
JobProperty<?> |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
all, getPropertyDescriptors
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class Descriptor<JobProperty<?>>
public boolean isApplicable(Class<? extends Job> jobType)
isApplicable
in class JobPropertyDescriptor
public JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
newInstance
in class JobPropertyDescriptor
Descriptor.FormException
public ListBoxModel doFillGitLabConnectionItems()
public ListBoxModel doFillJobCredentialIdItems(@AncestorInPath Item item, @QueryParameter String url, @QueryParameter String jobCredentialId)
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doTestConnection(@QueryParameter String jobCredentialId, @QueryParameter String gitLabConnection, @AncestorInPath Item item)
Copyright © 2016–2022. All rights reserved.