Class TagDiscoveryTrait

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTrait
io.jenkins.plugins.gitlabbranchsource.TagDiscoveryTrait
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.trait.SCMSourceTrait>

public class TagDiscoveryTrait extends jenkins.scm.api.trait.SCMSourceTrait
A Discovery trait for GitLab that will discover tags on the project.
  • Constructor Details

    • TagDiscoveryTrait

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

    • 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