Class ForkMergeRequestDiscoveryTrait.TrustNobody

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.ForkMergeRequestDiscoveryTrait.TrustNobody
All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
Enclosing class:
ForkMergeRequestDiscoveryTrait

public static class ForkMergeRequestDiscoveryTrait.TrustNobody extends jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,jenkins.scm.api.mixin.ChangeRequestSCMHead2,jenkins.scm.api.SCMRevision>
An SCMHeadAuthority that trusts nothing.
  • Constructor Details

    • TrustNobody

      @DataBoundConstructor public TrustNobody()
      Constructor.
  • Method Details

    • checkTrusted

      public 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>