Package jenkins.plugins.git.traits
Class GitToolSCMSourceTrait.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
- jenkins.scm.api.trait.SCMSourceTraitDescriptor
-
- jenkins.plugins.git.traits.GitToolSCMSourceTrait.DescriptorImpl
-
- Enclosing class:
- GitToolSCMSourceTrait
@Extension @Symbol("gitTool") public static class GitToolSCMSourceTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
OurDescriptor
-
-
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 ListBoxModel
doFillGitToolItems()
Returns the list ofGitTool
items.Class<? extends jenkins.scm.api.trait.SCMBuilder>
getBuilderClass()
Class<? extends jenkins.scm.api.trait.SCMSourceContext>
getContextClass()
String
getDisplayName()
Class<? extends SCM>
getScmClass()
boolean
isApplicableToBuilder(Class<? extends jenkins.scm.api.trait.SCMBuilder> builderClass)
boolean
isApplicableToContext(Class<? extends jenkins.scm.api.trait.SCMSourceContext> contextClass)
-
Methods inherited from class jenkins.scm.api.trait.SCMSourceTraitDescriptor
getSourceClass, isApplicableTo, isApplicableTo, isApplicableTo, isApplicableToBuilder, 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
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
getBuilderClass
public Class<? extends jenkins.scm.api.trait.SCMBuilder> getBuilderClass()
- Overrides:
getBuilderClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getContextClass
public Class<? extends jenkins.scm.api.trait.SCMSourceContext> getContextClass()
- Overrides:
getContextClass
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
-
isApplicableToContext
public boolean isApplicableToContext(@NonNull Class<? extends jenkins.scm.api.trait.SCMSourceContext> contextClass)
- Overrides:
isApplicableToContext
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>
-
doFillGitToolItems
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillGitToolItems()
Returns the list ofGitTool
items.- Returns:
- the list of
GitTool
items.
-
-