Interface GitHubCustomizer


public interface GitHubCustomizer
Provide a CDI bean implementing this interface to customize GitHubBuilder used to create the GitHub instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.kohsuke.github.GitHubBuilder builder)
    Customize the GitHubBuilder with various options.
  • Method Details

    • customize

      void customize(org.kohsuke.github.GitHubBuilder builder)
      Customize the GitHubBuilder with various options.

      Note that customizations that use GitHubBuilder.withAppInstallationToken(String) and GitHubBuilder.withEndpoint(String) are eventually overridden by the GitHubService. Installation tokens are created and cached by the service.

      To specify a custom endpoint, use configuration properties quarkus.github-app.instance-endpoint or quarkus.github-app.rest-api-endpoint.

      Parameters:
      builder - to customize