| Package | Description |
|---|---|
| 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 |
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. |
class |
SCMSourceContext<C extends SCMSourceContext<C,R>,R extends SCMSourceRequest>
Represents the context within which a
SCMSource is processing requests. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SCMHeadAuthority.isApplicableTo(SCMSourceRequest request)
Checks if this authority is relevant to the supplied
SCMSourceRequest. |
boolean |
SCMHeadAuthorityDescriptor.isApplicableToRequest(SCMSourceRequest request)
Checks if this
SCMHeadAuthorityDescriptor is applicable to the supplied SCMSourceRequest. |
abstract boolean |
SCMHeadFilter.isExcluded(SCMSourceRequest request,
SCMHead head)
Checks if the supplied
SCMHead is excluded from the specified SCMSourceRequest. |
boolean |
SCMHeadAuthority.isTrusted(SCMSourceRequest request,
SCMHead head)
Checks if the supplied
SCMHead is trusted in the context of the specified SCMSourceRequest. |
boolean |
SCMHeadAuthority.isTrusted(SCMSourceRequest request,
SCMRevision revision)
Checks if the supplied
SCMRevision is trusted in the context of the specified 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.isApplicableToRequest(Class<? extends SCMSourceRequest> requestClass)
Checks if this
SCMHeadAuthorityDescriptor is applicable to the supplied type of SCMSourceRequest. |
| 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.