Class TagDiscoveryTrait.TagSCMHeadAuthority

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,GitHubTagSCMHead,jenkins.plugins.git.GitTagSCMRevision>
org.jenkinsci.plugins.github_branch_source.TagDiscoveryTrait.TagSCMHeadAuthority
All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
Enclosing class:
TagDiscoveryTrait

public static class TagDiscoveryTrait.TagSCMHeadAuthority extends jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,GitHubTagSCMHead,jenkins.plugins.git.GitTagSCMRevision>
Trusts tags from the origin repository.
  • Constructor Details

    • TagSCMHeadAuthority

      public TagSCMHeadAuthority()
  • Method Details

    • checkTrusted

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