Class TagDiscoveryTrait

  • All Implemented Interfaces:
    Describable<jenkins.scm.api.trait.SCMSourceTrait>

    public class TagDiscoveryTrait
    extends jenkins.scm.api.trait.SCMSourceTrait
    A Discovery trait for GitHub that will discover tags on the repository.
    Since:
    2.3.0
    • Constructor Detail

      • TagDiscoveryTrait

        @DataBoundConstructor
        public TagDiscoveryTrait()
        Constructor for stapler.
    • Method Detail

      • decorateContext

        protected void decorateContext​(jenkins.scm.api.trait.SCMSourceContext<?,​?> context)
        Overrides:
        decorateContext in class jenkins.scm.api.trait.SCMSourceTrait
      • includeCategory

        public boolean includeCategory​(@NonNull
                                       jenkins.scm.api.SCMHeadCategory category)
        Overrides:
        includeCategory in class jenkins.scm.api.trait.SCMSourceTrait