Class TagDiscoveryTrait

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

public class TagDiscoveryTrait extends jenkins.scm.api.trait.SCMSourceTrait
A Discovery trait for bitbucket that will discover tags on the repository.
Since:
2.2.11
  • 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