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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(Item context, String serverUrl, String value)
Validation for checkout credentials.ListBoxModel
doFillCredentialsIdItems(Item context, String apiUri, String credentialsId)
Form completion.Class<? extends jenkins.scm.api.trait.SCMBuilder>
getBuilderClass()
Class<? extends jenkins.scm.api.trait.SCMSourceContext>
getContextClass()
String
getDisplayName()
Class<? extends SCM>
getScmClass()
Class<? extends jenkins.scm.api.SCMSource>
getSourceClass()
-
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
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
getContextClass
public Class<? extends jenkins.scm.api.trait.SCMSourceContext> getContextClass()
- Overrides:
getContextClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getSourceClass
public Class<? extends jenkins.scm.api.SCMSource> getSourceClass()
- Overrides:
getSourceClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getBuilderClass
public Class<? extends jenkins.scm.api.trait.SCMBuilder> getBuilderClass()
- Overrides:
getBuilderClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getScmClass
public Class<? extends SCM> 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
-
-