Package jenkins.scm.api.trait
Class SCMTraitDescriptor<T extends SCMTrait<T>>
java.lang.Object
hudson.model.Descriptor<T>
jenkins.scm.api.trait.SCMTraitDescriptor<T>
- Direct Known Subclasses:
SCMNavigatorTraitDescriptor
,SCMSourceTraitDescriptor
Abstract base class for
Descriptor
of SCMTrait
implementations.- Since:
- 2.2.0
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isApplicableToSCM
(SCMDescriptor<?> scm) boolean
isApplicableToSCM
(Class<? extends SCM> scmClass) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Method Details
-
getScmClass
-
isApplicableToSCM
-
isApplicableToSCM
- Parameters:
scm
- theSCMDescriptor
for the type ofSCM
.- Returns:
true
if applicable to the specified type ofSCM
.
-