Class 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,​jenkins.scm.api.SCMHead,​jenkins.scm.api.SCMRevision>
    Trusts branches from the repository.
    • Constructor Detail

      • BranchSCMHeadAuthority

        public BranchSCMHeadAuthority()
    • Method Detail

      • checkTrusted

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