Package jenkins.plugins.git
Class GitSCMSource.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<jenkins.scm.api.SCMSource>
-
- jenkins.scm.api.SCMSourceDescriptor
-
- jenkins.plugins.git.GitSCMSource.DescriptorImpl
-
- Enclosing class:
- GitSCMSource
@Symbol("git") @Extension public static class GitSCMSource.DescriptorImpl extends jenkins.scm.api.SCMSourceDescriptor
-
-
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 Deprecated Methods Modifier and Type Method Description protected jenkins.scm.api.SCMHeadCategory[]
createCategories()
FormValidation
doCheckCredentialsId(Item context, String remote, String value)
FormValidation
doCheckRemote(Item item, String credentialsId, String remote)
ListBoxModel
doFillCredentialsIdItems(Item context, String remote, String credentialsId)
ListBoxModel
doFillGitToolItems()
Deprecated.List<Descriptor<RepositoryBrowser<?>>>
getBrowserDescriptors()
Deprecated.String
getDisplayName()
List<GitSCMExtensionDescriptor>
getExtensionDescriptors()
Deprecated.GitSCM.DescriptorImpl
getSCMDescriptor()
Deprecated.List<jenkins.scm.api.trait.SCMSourceTrait>
getTraitsDefaults()
List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>>
getTraitsDescriptorLists()
boolean
showGitToolOptions()
Deprecated.-
Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, isApplicable, isUserInstantiable
-
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
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.SCMSource>
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String remote, @QueryParameter String credentialsId)
-
doCheckRemote
public FormValidation doCheckRemote(@AncestorInPath Item item, @QueryParameter String credentialsId, @QueryParameter String remote) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath Item context, @QueryParameter String remote, @QueryParameter String value)
-
getSCMDescriptor
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("3.4.0") public GitSCM.DescriptorImpl getSCMDescriptor()
Deprecated.
-
getExtensionDescriptors
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("3.4.0") public List<GitSCMExtensionDescriptor> getExtensionDescriptors()
Deprecated.
-
getBrowserDescriptors
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("3.4.0") public List<Descriptor<RepositoryBrowser<?>>> getBrowserDescriptors()
Deprecated.
-
showGitToolOptions
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("3.4.0") public boolean showGitToolOptions()
Deprecated.
-
doFillGitToolItems
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("3.4.0") public ListBoxModel doFillGitToolItems()
Deprecated.
-
getTraitsDescriptorLists
public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>> getTraitsDescriptorLists()
-
getTraitsDefaults
public List<jenkins.scm.api.trait.SCMSourceTrait> getTraitsDefaults()
- Overrides:
getTraitsDefaults
in classjenkins.scm.api.SCMSourceDescriptor
-
createCategories
@NonNull protected jenkins.scm.api.SCMHeadCategory[] createCategories()
- Overrides:
createCategories
in classjenkins.scm.api.SCMSourceDescriptor
-
-