Class DiversionSCMSource.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
io.superstudios.plugins.diversion.DiversionSCMSource.DescriptorImpl
- Enclosing class:
DiversionSCMSource
@Symbol({"diversionSource","diversion"})
@Extension
public static class DiversionSCMSource.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 TypeMethodDescriptiondoFillCredentialsIdItems(Item context, String credentialsId) Populate credentials dropdowndoFillDefaultBranchItems(Item context, String credentialsId, String repositoryId) Populate branch dropdown with available branchesdoFillLibraryPathItems(Item context, String credentialsId, String repositoryId, String defaultBranch, String libraryPath) Populate library path dropdown with directories from repositorydoFillRepositoryIdItems(Item context, String credentialsId) Populate repository dropdown with available repositoriesgetId()Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
createCategories, forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, getTraitsDefaults, 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, 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>
-
getId
- Overrides:
getIdin classDescriptor<jenkins.scm.api.SCMSource>
-
doFillRepositoryIdItems
public ListBoxModel doFillRepositoryIdItems(@AncestorInPath Item context, @QueryParameter String credentialsId) Populate repository dropdown with available repositories -
doFillDefaultBranchItems
public ListBoxModel doFillDefaultBranchItems(@AncestorInPath Item context, @QueryParameter String credentialsId, @QueryParameter String repositoryId) Populate branch dropdown with available branches -
doFillLibraryPathItems
public ListBoxModel doFillLibraryPathItems(@AncestorInPath Item context, @QueryParameter String credentialsId, @QueryParameter String repositoryId, @QueryParameter String defaultBranch, @QueryParameter String libraryPath) Populate library path dropdown with directories from repository -
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String credentialsId) Populate credentials dropdown
-