Class OriginPullRequestDiscoveryTrait.OriginChangeRequestSCMHeadAuthority
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,jenkins.scm.api.mixin.ChangeRequestSCMHead2,jenkins.scm.api.SCMRevision>
com.cloudbees.jenkins.plugins.bitbucket.OriginPullRequestDiscoveryTrait.OriginChangeRequestSCMHeadAuthority
- All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,
?, ?>>
- Enclosing class:
- OriginPullRequestDiscoveryTrait
public static class OriginPullRequestDiscoveryTrait.OriginChangeRequestSCMHeadAuthority
extends jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,jenkins.scm.api.mixin.ChangeRequestSCMHead2,jenkins.scm.api.SCMRevision>
A
SCMHeadAuthority
that trusts origin pull requests-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkTrusted
(jenkins.scm.api.trait.SCMSourceRequest request, jenkins.scm.api.mixin.ChangeRequestSCMHead2 head) Methods inherited from class jenkins.scm.api.trait.SCMHeadAuthority
_for, all, checkTrusted, getDescriptor, isApplicableTo, isApplicableTo, isApplicableTo, isTrusted, isTrusted
-
Constructor Details
-
OriginChangeRequestSCMHeadAuthority
public OriginChangeRequestSCMHeadAuthority()
-
-
Method Details
-
checkTrusted
protected boolean checkTrusted(@NonNull jenkins.scm.api.trait.SCMSourceRequest request, @NonNull jenkins.scm.api.mixin.ChangeRequestSCMHead2 head) - Specified by:
checkTrusted
in classjenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,
jenkins.scm.api.mixin.ChangeRequestSCMHead2, jenkins.scm.api.SCMRevision>
-