| Package | Description |
|---|---|
| jenkins.scm.api |
The public API contract of the SCM API plugin.
|
| jenkins.scm.api.mixin |
The mix-in interfaces used by
SCMHead
implementations to advertise that a specific head is not just a regular branch but is actually a special type of
branch such as a change request /
tag / etc. |
| jenkins.scm.api.trait |
An API/SPI to allow the sharing of common traits between different
SCMSource and
SCMNavigator implementations. |
| Modifier and Type | Class and Description |
|---|---|
class |
SCMHead
Represents a named SCM branch, change request, tag or mainline.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChangeRequestSCMHead
Mixin interface to identify
SCMHead instances that correspond to a change request. |
interface |
ChangeRequestSCMHead2
Additional attributes of a
ChangeRequestSCMHead that should have been in the original mixin but we are not
targeting Java 8 so we cannot add the default methods to the interface and must have an ugly 2 class instead. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SCMHeadMixin.Equality.equals(SCMHeadMixin o1,
SCMHeadMixin o2) |
| Modifier and Type | Class and Description |
|---|---|
class |
SCMHeadAuthority<S extends SCMSourceRequest,H extends SCMHeadMixin,R extends SCMRevision>
Abstraction to allow pluggable definitions of trust for
SCMHead and SCMRevision instances in the
context of a specific SCMSourceRequest. |
| Modifier and Type | Method and Description |
|---|---|
static List<SCMHeadAuthorityDescriptor> |
SCMHeadAuthority._for(Class<? extends SCMSourceRequest> requestClass,
Class<? extends SCMHeadMixin> headClass,
Class<? extends SCMRevision> revisionClass,
Class<? extends SCMHeadOrigin>... origins)
Returns the subset of
SCMHeadAuthorityDescriptor instances applicable to the supplied criteria. |
boolean |
SCMHeadAuthorityDescriptor.isApplicableToHead(Class<? extends SCMHeadMixin> headClass)
Checks if this
SCMHeadAuthorityDescriptor is applicable to the supplied type of SCMHead. |
| Constructor and Description |
|---|
SCMHeadAuthorityDescriptor(Class<? extends SCMHeadAuthority<?,?,?>> clazz,
Class<? extends SCMSourceRequest> requestClass,
Class<? extends SCMHeadMixin> headClass,
Class<? extends SCMRevision> revisionClass)
Constructor to use when type inference using
SCMHeadAuthorityDescriptor.SCMHeadAuthorityDescriptor() does not work. |
Copyright © 2016–2019. All rights reserved.