Package io.quarkiverse.githubapp
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 TypeMethodDescriptionvoidcustomize(org.kohsuke.github.GitHubBuilder builder) Customize theGitHubBuilderwith various options.
-
Method Details
-
customize
void customize(org.kohsuke.github.GitHubBuilder builder) Customize theGitHubBuilderwith various options.Note that customizations that use
GitHubBuilder.withAppInstallationToken(String)andGitHubBuilder.withEndpoint(String)are eventually overridden by theGitHubService. Installation tokens are created and cached by the service.To specify a custom endpoint, use configuration properties
quarkus.github-app.instance-endpointorquarkus.github-app.rest-api-endpoint.- Parameters:
builder- to customize
-