@Extension public static class SSHCheckoutTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and 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() |
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 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 SCM> getScmClass()
getScmClass
in class jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillCredentialsIdItems(@CheckForNull @AncestorInPath 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 FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath Item context, @QueryParameter String serverUrl, @QueryParameter String value)
context
- the context.serverUrl
- the server url.value
- the current selection.Copyright © 2016–2019. All rights reserved.