Class OriginPullRequestDiscoveryTrait.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTraitDescriptor
com.cloudbees.jenkins.plugins.bitbucket.OriginPullRequestDiscoveryTrait.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
OriginPullRequestDiscoveryTrait

@Symbol("bitbucketPullRequestDiscovery") @Extension @Discovery public static class OriginPullRequestDiscoveryTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Our descriptor.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<jenkins.scm.api.trait.SCMSourceTrait>
    • getContextClass

      public Class<? extends jenkins.scm.api.trait.SCMSourceContext> getContextClass()
      Overrides:
      getContextClass in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
    • getSourceClass

      public Class<? extends jenkins.scm.api.SCMSource> getSourceClass()
      Overrides:
      getSourceClass in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
    • doFillStrategyIdItems

      @NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillStrategyIdItems()
      Populates the strategy options.
      Returns:
      the strategy options.