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
com.cloudbees.jenkins.plugins.bitbucket.SSHCheckoutTrait.DescriptorImpl
- Enclosing class:
- SSHCheckoutTrait
@Symbol("bitbucketSshCheckout")
@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 serverUrl, String credentialsId) Form completion.Class<? extends jenkins.scm.api.trait.SCMSourceContext>
Class<? extends jenkins.scm.api.SCMSource>
boolean
isApplicableToBuilder
(Class<? extends jenkins.scm.api.trait.SCMBuilder> builderClass) boolean
isApplicableToSCM
(SCMDescriptor<?> scm) Methods inherited from class jenkins.scm.api.trait.SCMSourceTraitDescriptor
getBuilderClass, isApplicableTo, isApplicableTo, isApplicableTo, isApplicableToBuilder, isApplicableToContext, isApplicableToContext
Methods inherited from class jenkins.scm.api.trait.SCMTraitDescriptor
getScmClass, 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, getStaticHelpUrl, 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
-
isApplicableToBuilder
public boolean isApplicableToBuilder(@NonNull Class<? extends jenkins.scm.api.trait.SCMBuilder> builderClass) - Overrides:
isApplicableToBuilder
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
isApplicableToSCM
- Overrides:
isApplicableToSCM
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 serverUrl, @QueryParameter String credentialsId) Form completion.- Parameters:
context
- the context.serverUrl
- 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
-