Package com.gitee.jenkins.connection
Class GiteeConnectionProperty.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<JobProperty<?>>
-
- hudson.model.JobPropertyDescriptor
-
- com.gitee.jenkins.connection.GiteeConnectionProperty.DescriptorImpl
-
- Enclosing class:
- GiteeConnectionProperty
@Extension @Symbol("giteeConnection") public static class GiteeConnectionProperty.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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBoxModel
doFillGiteeConnectionItems()
String
getDisplayName()
boolean
isApplicable(Class<? extends Job> jobType)
JobProperty<?>
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
isApplicable
public boolean isApplicable(Class<? extends Job> jobType)
- Overrides:
isApplicable
in classJobPropertyDescriptor
-
newInstance
public JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classJobPropertyDescriptor
- Throws:
Descriptor.FormException
-
doFillGiteeConnectionItems
public ListBoxModel doFillGiteeConnectionItems()
-
-