Package org.jenkinsci.plugin.gitea
Class GiteaSCMSource.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
org.jenkinsci.plugin.gitea.GiteaSCMSource.DescriptorImpl
- Enclosing class:
GiteaSCMSource
@Extension
public static class GiteaSCMSource.DescriptorImpl
extends jenkins.scm.api.SCMSourceDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class jenkins.scm.api.SCMSourceDescriptor
categoriesFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jenkins.scm.api.SCMHeadCategory[]doCheckCredentialsId(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String value) doFillCredentialsIdItems(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String credentialsId) doFillRepositoryItems(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String credentialsId, String repoOwner, String repository) doFillServerUrlItems(jenkins.scm.api.SCMSourceOwner context, String serverUrl) List<jenkins.scm.api.trait.SCMSourceTrait> List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMTraitDescriptor<?>>> Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
forOwner, forOwner, forOwner, forOwner, getCategories, getId, getPronoun, isApplicable, isUserInstantiableMethods 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, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<jenkins.scm.api.SCMSource>
-
doFillServerUrlItems
public ListBoxModel doFillServerUrlItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl) -
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId) -
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String value) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
doFillRepositoryItems
public ListBoxModel doFillRepositoryItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String repoOwner, @QueryParameter String repository) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
getTraitsDescriptorLists
public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMTraitDescriptor<?>>> getTraitsDescriptorLists() -
getTraitsDefaults
- Overrides:
getTraitsDefaultsin classjenkins.scm.api.SCMSourceDescriptor
-
getIconClassName
- Specified by:
getIconClassNamein interfaceIconSpec- Overrides:
getIconClassNamein classjenkins.scm.api.SCMSourceDescriptor
-
createCategories
@NonNull protected jenkins.scm.api.SCMHeadCategory[] createCategories()- Overrides:
createCategoriesin classjenkins.scm.api.SCMSourceDescriptor
-