Package com.gitee.jenkins.connection
Class GiteeApiRepoProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
com.gitee.jenkins.connection.GiteeApiRepoProperty.DescriptorImpl
- All Implemented Interfaces:
ApiDesciptor,Saveable,Loadable,OnMaster
- Enclosing class:
GiteeApiRepoProperty
@Extension
@Symbol("giteeApiRepo")
public static class GiteeApiRepoProperty.DescriptorImpl
extends JobPropertyDescriptor
implements ApiDesciptor
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRepoOwner(String repo, String owner) doCheckRepoOwner(String value, String repo, String owner) booleanisApplicable(Class<? extends Job> jobType) JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) booleanbooleanremoveRepoOwner(String repoOwner) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstanceMethods 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:
getDisplayNamein classDescriptor<JobProperty<?>>
-
getDescriptorOptions
-
isApplicable
- Overrides:
isApplicablein classJobPropertyDescriptor
-
newInstance
public JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classJobPropertyDescriptor- Throws:
Descriptor.FormException
-
doFillGiteeApiRepoItems
- Specified by:
doFillGiteeApiRepoItemsin interfaceApiDesciptor
-
doCheckRepoOwner
public FormValidation doCheckRepoOwner(@QueryParameter String value, @QueryParameter String repo, @QueryParameter String owner) -
removeAllRepoOwners
@JavaScriptMethod public boolean removeAllRepoOwners() -
removeRepoOwner
-
addRepoOwner
-