Class ActiveGitBranchesParameterDefinition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ParameterDefinition>
hudson.model.ParameterDefinition.ParameterDescriptor
io.jenkins.plugins.activegitbranches.ActiveGitBranchesParameterDefinition.DescriptorImpl
- Enclosing class:
ActiveGitBranchesParameterDefinition
@Symbol("activeGitBranches")
@Extension
public static class ActiveGitBranchesParameterDefinition.DescriptorImpl
extends ParameterDefinition.ParameterDescriptor
-
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 TypeMethodDescriptionValidates the always include branches regex.doCheckBranchFilter(String value) Validates the branch filter regex.doCheckExcludeBranches(String value) Validates the exclude branches regex.doCheckMaxBranchCount(String value) Validates the max branch count.doCheckRepositoryUrl(String value) Validates the repository URL.doFillCredentialsIdItems(Item item, String credentialsId, String repositoryUrl) Fills the credentials dropdown.doTestConnection(Item item, String repositoryUrl, String credentialsId, int maxBranchCount, String branchFilter, String alwaysIncludeBranches, String excludeBranches, boolean useQuickFetch) Test connection to the repository.Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePageMethods 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 classParameterDefinition.ParameterDescriptor
-
doCheckRepositoryUrl
Validates the repository URL. -
doCheckMaxBranchCount
Validates the max branch count. -
doCheckBranchFilter
Validates the branch filter regex. -
doCheckAlwaysIncludeBranches
Validates the always include branches regex. -
doCheckExcludeBranches
Validates the exclude branches regex. -
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId, @QueryParameter String repositoryUrl) Fills the credentials dropdown. -
doTestConnection
public FormValidation doTestConnection(@AncestorInPath Item item, @QueryParameter String repositoryUrl, @QueryParameter String credentialsId, @QueryParameter int maxBranchCount, @QueryParameter String branchFilter, @QueryParameter String alwaysIncludeBranches, @QueryParameter String excludeBranches, @QueryParameter boolean useQuickFetch) Test connection to the repository.
-