Class OriginMergeRequestDiscoveryTrait.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>
io.jenkins.plugins.gitlabbranchsource.OriginMergeRequestDiscoveryTrait.OriginChangeRequestSCMHeadAuthority
All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
Enclosing class:
OriginMergeRequestDiscoveryTrait

public static class OriginMergeRequestDiscoveryTrait.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 merge requests
  • 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 class jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,jenkins.scm.api.mixin.ChangeRequestSCMHead2,jenkins.scm.api.SCMRevision>