Package io.jenkins.plugins.gitlabrefs
Class GitLabRepositoryRefsParameterDefinition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ParameterDefinition>
hudson.model.ParameterDefinition.ParameterDescriptor
io.jenkins.plugins.gitlabrefs.GitLabRepositoryRefsParameterDefinition.DescriptorImpl
- Enclosing class:
GitLabRepositoryRefsParameterDefinition
@Extension
@Symbol("gitLabRefs")
public static class GitLabRepositoryRefsParameterDefinition.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 TypeMethodDescriptiondoCheckConnectTimeoutMs(Item item, String value) doCheckDescription(Item item, String value) doCheckExclude(Item item, String value) doCheckMaxPages(Item item, String value) doCheckMaxRows(Item item, String value) doCheckName(Item item, String value) doCheckPerPage(Item item, String value) doCheckReadTimeoutMs(Item item, String value) doCheckRefKind(Item item, String value) doCheckRegex(Item item, String value) doCheckRepoUrl(Item item, String value) Format-only URL check (scheme, path, host allowlist).voiddoFetchRefs(Job<?, ?> job, String name, org.kohsuke.stapler.StaplerResponse2 rsp) doFillCredentialsIdItems(Item item, String credentialsId) doTestConnection(Item item, String repoUrl, String credentialsId, String connectTimeoutMs, String readTimeoutMs) One-shot GitLab probe (project + repository branches).Context-relative href for Build-page AJAX (descriptorByName/fetchRefs).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
-
getFetchRefsHref
Context-relative href for Build-page AJAX (descriptorByName/fetchRefs). -
doCheckName
-
doCheckDescription
@POST public FormValidation doCheckDescription(@AncestorInPath Item item, @QueryParameter String value) -
doCheckRepoUrl
Format-only URL check (scheme, path, host allowlist). Does not call GitLab. Live connectivity isdoTestConnection(hudson.model.Item, java.lang.String, java.lang.String, java.lang.String, java.lang.String)via the «Test connection» button. -
doTestConnection
@POST public FormValidation doTestConnection(@AncestorInPath Item item, @QueryParameter String repoUrl, @QueryParameter String credentialsId, @QueryParameter String connectTimeoutMs, @QueryParameter String readTimeoutMs) One-shot GitLab probe (project + repository branches). Invoked only by «Test connection». -
doCheckRefKind
-
doCheckRegex
-
doCheckExclude
-
doCheckPerPage
-
doCheckMaxPages
@POST public FormValidation doCheckMaxPages(@AncestorInPath Item item, @QueryParameter String value) -
doCheckMaxRows
-
doCheckConnectTimeoutMs
@POST public FormValidation doCheckConnectTimeoutMs(@AncestorInPath Item item, @QueryParameter String value) -
doCheckReadTimeoutMs
@POST public FormValidation doCheckReadTimeoutMs(@AncestorInPath Item item, @QueryParameter String value) -
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId) -
doFillRefKindItems
-
doFillSortModeItems
-
doFetchRefs
@POST public void doFetchRefs(@AncestorInPath Job<?, ?> job, @QueryParameter String name, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException- Throws:
IOException
-