Uses of Class
jenkins.scm.api.SCMSourceDescriptor
Package
Description
The public API contract of the SCM API plugin.
An API/SPI to allow the sharing of common traits between different
SCMSource
and
SCMNavigator
implementations.The common implementations of classes in the public API.
-
Uses of SCMSourceDescriptor in jenkins.scm.api
Modifier and TypeMethodDescriptionstatic List<SCMSourceDescriptor>
SCMSourceDescriptor.forOwner
(Class<? extends SCMSourceOwner> clazz) Returns the list of descriptors that are appropriate for a specified type of owner andisUserInstantiable()
.static List<SCMSourceDescriptor>
SCMSourceDescriptor.forOwner
(Class<? extends SCMSourceOwner> clazz, boolean onlyUserInstantiable) Returns the list of descriptors that are appropriate for a specified type of owner with the additional filter byisUserInstantiable()
.static List<SCMSourceDescriptor>
SCMSourceDescriptor.forOwner
(SCMSourceOwner owner) Returns the list of descriptors that are appropriate for a specified owner andisUserInstantiable()
.static List<SCMSourceDescriptor>
SCMSourceDescriptor.forOwner
(SCMSourceOwner owner, boolean onlyUserInstantiable) Returns the list of descriptors that are appropriate for a specified owner with the additional filter byisUserInstantiable()
.Modifier and TypeMethodDescriptionfinal boolean
SCMFileSystem.Builder.supports
(SCMSourceDescriptor descriptor) Checks if thisSCMFileSystem.Builder
supports the suppliedSCMSourceDescriptor
.static boolean
SCMFileSystem.supports
(SCMSourceDescriptor descriptor) Given aSCMSourceDescriptor
this method will check if there is at least oneSCMFileSystem
provider capable of being instantiated from the descriptor'sSCMSource
.protected abstract boolean
SCMFileSystem.Builder.supportsDescriptor
(SCMSourceDescriptor descriptor) Checks if thisSCMFileSystem.Builder
supports the suppliedSCMSourceDescriptor
. -
Uses of SCMSourceDescriptor in jenkins.scm.api.trait
Modifier and TypeMethodDescriptionstatic List<SCMSourceTraitDescriptor>
SCMSourceTrait._for
(SCMSourceDescriptor scmSource, Class<? extends SCMSourceContext> contextClass, Class<? extends SCMBuilder> builderClass) Returns the subset ofSCMSourceTraitDescriptor
instances that are applicable to the specifiedSCMSourceDescriptor
and specified types ofSCMNavigatorContext
andSCMSourceBuilder
.boolean
SCMSourceTraitDescriptor.isApplicableTo
(SCMSourceDescriptor descriptor) Checks if theSCMSourceTrait
is relevant to the specifiedSCMSourceDescriptor
.boolean
SCMNavigatorTraitDescriptor.isApplicableToSource
(SCMSourceDescriptor descriptor) Checks if theSCMNavigatorTrait
is relevant to the specifiedSCMSourceDescriptor
. -
Uses of SCMSourceDescriptor in jenkins.scm.impl