@Symbol(value="gitHubSshCheckout")
@Extension
public static class SSHCheckoutTrait.DescriptorImpl
extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckCredentialsId(hudson.model.Item context,
String serverUrl,
String value)
Validation for checkout credentials.
|
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.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 hudson.scm.SCM> |
getScmClass() |
Class<? extends jenkins.scm.api.SCMSource> |
getSourceClass() |
isApplicableTo, isApplicableTo, isApplicableTo, isApplicableToBuilder, isApplicableToBuilder, isApplicableToContext, isApplicableToContext
isApplicableToSCM, isApplicableToSCM
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
@NonNull public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<jenkins.scm.api.trait.SCMSourceTrait>
public Class<? extends jenkins.scm.api.trait.SCMSourceContext> getContextClass()
getContextClass
in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
public Class<? extends jenkins.scm.api.SCMSource> getSourceClass()
getSourceClass
in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
public Class<? extends jenkins.scm.api.trait.SCMBuilder> getBuilderClass()
getBuilderClass
in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
public Class<? extends hudson.scm.SCM> getScmClass()
getScmClass
in class jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public hudson.util.ListBoxModel doFillCredentialsIdItems(@CheckForNull @AncestorInPath hudson.model.Item context, @QueryParameter String apiUri, @QueryParameter String credentialsId)
context
- the context.apiUri
- the server url.credentialsId
- the current selection.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public hudson.util.FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath hudson.model.Item context, @QueryParameter String serverUrl, @QueryParameter String value)
context
- the context.serverUrl
- the server url.value
- the current selection.Copyright © 2016–2020. All rights reserved.