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

@Symbol("gitHubSourceChecks") @Extension @Discovery public static class GitHubSCMSourceChecksTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Descriptor implementation for GitHubSCMSourceChecksTrait.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Returns the display name.
      Overrides:
      getDisplayName in class Descriptor<jenkins.scm.api.trait.SCMSourceTrait>
      Returns:
      "Configure GitHub Checks"
    • getContextClass

      public Class<? extends jenkins.scm.api.trait.SCMSourceContext> getContextClass()
      The GitHubSCMSourceChecksTrait is only applicable to GitHubSCMSourceContext.
      Overrides:
      getContextClass in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
      Returns:
      GitHubSCMSourceContext.class
    • getSourceClass

      public Class<? extends jenkins.scm.api.SCMSource> getSourceClass()
      The GitHubSCMSourceChecksTrait is only applicable to GitHubSCMSource.
      Overrides:
      getSourceClass in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
      Returns:
      GitHubSCMSource.class