| Package | Description |
|---|---|
| jenkins.scm.api |
The public API contract of the SCM API plugin.
|
| jenkins.scm.api.trait |
An API/SPI to allow the sharing of common traits between different
SCMSource and
SCMNavigator implementations. |
| jenkins.scm.impl |
The common implementations of classes in the public API.
|
| Modifier and Type | Method and Description |
|---|---|
SCMSourceDescriptor |
SCMSource.getDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static List<SCMSourceDescriptor> |
SCMSourceDescriptor.forOwner(Class<? extends SCMSourceOwner> clazz)
Returns the list of descriptors that are appropriate for a specified type of owner and
isUserInstantiable(). |
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 by
isUserInstantiable(). |
static List<SCMSourceDescriptor> |
SCMSourceDescriptor.forOwner(SCMSourceOwner owner)
Returns the list of descriptors that are appropriate for a specified owner and
isUserInstantiable(). |
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 by
isUserInstantiable(). |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SCMFileSystem.supports(SCMSourceDescriptor descriptor)
Given a
SCMSourceDescriptor this method will check if there is at least one SCMFileSystem provider
capable of being instantiated from the descriptor's SCMSource. |
boolean |
SCMFileSystem.Builder.supports(SCMSourceDescriptor descriptor)
Checks if this
SCMFileSystem.Builder supports the supplied SCMSourceDescriptor. |
protected abstract boolean |
SCMFileSystem.Builder.supportsDescriptor(SCMSourceDescriptor descriptor)
Checks if this
SCMFileSystem.Builder supports the supplied SCMSourceDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
static List<SCMSourceTraitDescriptor> |
SCMSourceTrait._for(SCMSourceDescriptor scmSource,
Class<? extends SCMSourceContext> contextClass,
Class<? extends SCMBuilder> builderClass)
Returns the subset of
SCMSourceTraitDescriptor instances that are applicable to the specified
SCMSourceDescriptor and specified types of SCMNavigatorContext and SCMSourceBuilder. |
boolean |
SCMSourceTraitDescriptor.isApplicableTo(SCMSourceDescriptor descriptor)
Checks if the
SCMSourceTrait is relevant to the specified SCMSourceDescriptor. |
boolean |
SCMNavigatorTraitDescriptor.isApplicableToSource(SCMSourceDescriptor descriptor)
Checks if the
SCMNavigatorTrait is relevant to the specified SCMSourceDescriptor. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SingleSCMSource.DescriptorImpl
Our descriptor.
|
Copyright © 2016–2019. All rights reserved.