Class DiversionSCM.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<SCM>
hudson.scm.SCMDescriptor<DiversionSCM>
io.superstudios.plugins.diversion.DiversionSCM.DescriptorImpl
- Enclosing class:
DiversionSCM
-
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.scm.SCMDescriptor
repositoryBrowserFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoFillBranchItems(Item context, String credentialsId, String repositoryId) Populate branch dropdowndoFillCredentialsIdItems(Item context, String credentialsId) Get list of available credentials for Diversion API tokens (Secret Text type)doFillRepositoryIdItems(Item context, String credentialsId) Populate repository dropdowndoFillScriptPathItems(Item context, String credentialsId, String repositoryId, String branch) Populate script path dropdown with pipeline scriptsbooleanisApplicable(Job project) Methods inherited from class hudson.scm.SCMDescriptor
getBrowserDescriptors, getGeneration, incrementGeneration, isApplicable, isBrowserReusable, loadMethods 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, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<SCM>
-
isApplicable
- Overrides:
isApplicablein classSCMDescriptor<DiversionSCM>
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String credentialsId) Get list of available credentials for Diversion API tokens (Secret Text type) -
doFillRepositoryIdItems
public ListBoxModel doFillRepositoryIdItems(@AncestorInPath Item context, @QueryParameter String credentialsId) Populate repository dropdown -
doFillBranchItems
public ListBoxModel doFillBranchItems(@AncestorInPath Item context, @QueryParameter String credentialsId, @QueryParameter String repositoryId) Populate branch dropdown -
doFillScriptPathItems
public ListBoxModel doFillScriptPathItems(@AncestorInPath Item context, @QueryParameter String credentialsId, @QueryParameter String repositoryId, @QueryParameter String branch) Populate script path dropdown with pipeline scripts
-