Class HookRegistrationTrait.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.HookRegistrationTrait.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
HookRegistrationTrait

@Symbol("gitLabHookRegistration") @Extension public static class HookRegistrationTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Our constructor.
  • 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
    • doFillWebHookModeItems

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillWebHookModeItems()
      Form completion.
      Returns:
      the web hook mode options.
    • doFillSystemHookModeItems

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillSystemHookModeItems()
      Form completion.
      Returns:
      the system hook mode options.