Class SSHCheckoutTrait.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTraitDescriptor
org.jenkinsci.plugins.github_branch_source.SSHCheckoutTrait.DescriptorImpl
- Enclosing class:
- SSHCheckoutTrait
@Symbol("gitHubSshCheckout")
@Extension
public static class SSHCheckoutTrait.DescriptorImpl
extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Our descriptor.
-
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
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckCredentialsId
(Item context, String serverUrl, String value) Validation for checkout credentials.doFillCredentialsIdItems
(Item context, String apiUri, String credentialsId) Form completion.Class<? extends jenkins.scm.api.trait.SCMBuilder>
Class<? extends jenkins.scm.api.trait.SCMSourceContext>
Class<? extends jenkins.scm.api.SCMSource>
Methods inherited from class jenkins.scm.api.trait.SCMSourceTraitDescriptor
isApplicableTo, isApplicableTo, isApplicableTo, isApplicableToBuilder, isApplicableToBuilder, isApplicableToContext, isApplicableToContext
Methods inherited from class jenkins.scm.api.trait.SCMTraitDescriptor
isApplicableToSCM, isApplicableToSCM
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
getContextClass
- Overrides:
getContextClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getSourceClass
- Overrides:
getSourceClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getBuilderClass
- Overrides:
getBuilderClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getScmClass
- Overrides:
getScmClass
in classjenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
doFillCredentialsIdItems
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillCredentialsIdItems(@CheckForNull @AncestorInPath Item context, @QueryParameter String apiUri, @QueryParameter String credentialsId) Form completion.- Parameters:
context
- the context.apiUri
- the server url.credentialsId
- the current selection.- Returns:
- the form items.
-
doCheckCredentialsId
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath Item context, @QueryParameter String serverUrl, @QueryParameter String value) Validation for checkout credentials.- Parameters:
context
- the context.serverUrl
- the server url.value
- the current selection.- Returns:
- the validation results
-