Uses of Class
jenkins.scm.api.trait.SCMSourceRequest
Package
Description
An API/SPI to allow the sharing of common traits between different
SCMSource
and
SCMNavigator
implementations.-
Uses of SCMSourceRequest in jenkins.scm.api.trait
Modifier and TypeClassDescriptionclass
SCMHeadAuthority<S extends SCMSourceRequest,
H extends SCMHeadMixin, R extends SCMRevision> Abstraction to allow pluggable definitions of trust forSCMHead
andSCMRevision
instances in the context of a specificSCMSourceRequest
.class
SCMSourceContext<C extends SCMSourceContext<C,
R>, R extends SCMSourceRequest> Represents the context within which aSCMSource
is processing requests.Modifier and TypeMethodDescriptionfinal boolean
SCMHeadAuthority.isApplicableTo
(SCMSourceRequest request) Checks if this authority is relevant to the suppliedSCMSourceRequest
.boolean
SCMHeadAuthorityDescriptor.isApplicableToRequest
(SCMSourceRequest request) Checks if thisSCMHeadAuthorityDescriptor
is applicable to the suppliedSCMSourceRequest
.abstract boolean
SCMHeadFilter.isExcluded
(SCMSourceRequest request, SCMHead head) Checks if the suppliedSCMHead
is excluded from the specifiedSCMSourceRequest
.final boolean
SCMHeadAuthority.isTrusted
(SCMSourceRequest request, SCMHead head) Checks if the suppliedSCMHead
is trusted in the context of the specifiedSCMSourceRequest
.final boolean
SCMHeadAuthority.isTrusted
(SCMSourceRequest request, SCMRevision revision) Checks if the suppliedSCMRevision
is trusted in the context of the specifiedSCMSourceRequest
.Modifier and TypeMethodDescriptionstatic List<SCMHeadAuthorityDescriptor>
SCMHeadAuthority._for
(Class<? extends SCMSourceRequest> requestClass, Class<? extends SCMHeadMixin> headClass, Class<? extends SCMRevision> revisionClass, Class<? extends SCMHeadOrigin>... origins) Returns the subset ofSCMHeadAuthorityDescriptor
instances applicable to the supplied criteria.boolean
SCMHeadAuthorityDescriptor.isApplicableToRequest
(Class<? extends SCMSourceRequest> requestClass) Checks if thisSCMHeadAuthorityDescriptor
is applicable to the supplied type ofSCMSourceRequest
.