public interface GitHubConfig
GitHub needs, without requiring a Gradle build script.| Modifier and Type | Interface and Description |
|---|---|
static class |
GitHubConfig.Builder
Assembles an immutable
GitHubConfig by composing AuthSettings,
CliSettings and ResilienceSettings, the same settings types the Gradle DSL
configures. |
| Modifier and Type | Method and Description |
|---|---|
static GitHubConfig.Builder |
builder() |
java.lang.String |
getAccessToken() |
AuthSettings |
getAuth() |
CliSettings |
getCli() |
ResilienceSettings |
getResilience() |
java.lang.String getAccessToken()
getAuth().AuthSettings getAuth()
getAccessToken().CliSettings getCli()
gh CLI.ResilienceSettings getResilience()
static GitHubConfig.Builder builder()
GitHubConfig.Builder for assembling a GitHubConfig outside a Gradle build
script. Every builder method is optional; GitHubConfig.Builder.build() with none called produces
a config for fully anonymous, unauthenticated access.