Class ForkMergeRequestDiscoveryTrait.DescriptorImpl

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

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

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull 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 stategy options.
    • getTrustDescriptors

      @NonNull public List<jenkins.scm.api.trait.SCMHeadAuthorityDescriptor> getTrustDescriptors()
      Returns the list of appropriate SCMHeadAuthorityDescriptor instances.
      Returns:
      the list of appropriate SCMHeadAuthorityDescriptor instances.
    • getDefaultTrust

      @NonNull public jenkins.scm.api.trait.SCMHeadAuthority<?,?,?> getDefaultTrust()
      Returns the default trust for new instances of ForkMergeRequestDiscoveryTrait.
      Returns:
      the default trust for new instances of ForkMergeRequestDiscoveryTrait.