Class BranchDiscoveryTrait.BranchSCMHeadAuthority

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,BranchSCMHead,jenkins.scm.api.SCMRevision>
io.jenkins.plugins.gitlabbranchsource.BranchDiscoveryTrait.BranchSCMHeadAuthority
All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
Enclosing class:
BranchDiscoveryTrait

public static class BranchDiscoveryTrait.BranchSCMHeadAuthority extends jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,BranchSCMHead,jenkins.scm.api.SCMRevision>
Trusts branches from the origin repository.
  • Constructor Details

    • BranchSCMHeadAuthority

      public BranchSCMHeadAuthority()
  • Method Details

    • checkTrusted

      protected boolean checkTrusted(@NonNull jenkins.scm.api.trait.SCMSourceRequest request, @NonNull BranchSCMHead head)
      Specified by:
      checkTrusted in class jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,BranchSCMHead,jenkins.scm.api.SCMRevision>