| Package | Description |
|---|---|
| org.kohsuke.github |
| Modifier and Type | Field and Description |
|---|---|
protected GitHub |
GHQueryBuilder.root |
protected GitHub |
GHEventPayload.root |
| Modifier and Type | Method and Description |
|---|---|
GitHub |
GitHubBuilder.build() |
static GitHub |
GitHub.connect()
Obtains the credential from "~/.github" or from the System Environment Properties.
|
static GitHub |
GitHub.connect(String login,
String oauthAccessToken) |
static GitHub |
GitHub.connect(String login,
String oauthAccessToken,
String password)
Deprecated.
Either OAuth token or password is sufficient, so there's no point in passing both.
Use
connectUsingPassword(String, String) or connectUsingOAuth(String). |
static GitHub |
GitHub.connectAnonymously()
Connects to GitHub anonymously.
|
static GitHub |
GitHub.connectToEnterprise(String apiUrl,
String oauthAccessToken)
Version that connects to GitHub Enterprise.
|
static GitHub |
GitHub.connectToEnterprise(String apiUrl,
String login,
String password) |
static GitHub |
GitHub.connectToEnterpriseAnonymously(String apiUrl)
Connects to GitHub Enterprise anonymously.
|
static GitHub |
GitHub.connectUsingOAuth(String oauthAccessToken) |
static GitHub |
GitHub.connectUsingOAuth(String githubServer,
String oauthAccessToken) |
static GitHub |
GitHub.connectUsingPassword(String login,
String password) |
GitHub |
GHBranch.getRoot() |
GitHub |
GHTag.getRoot() |
GitHub |
GHAsset.getRoot() |
GitHub |
GHKey.getRoot() |
GitHub |
GHRelease.getRoot() |
GitHub |
GHAuthorization.getRoot() |
GitHub |
GHMilestone.getRoot() |
static GitHub |
GitHub.offline()
An offline-only
GitHub useful for parsing event notification from an unknown source. |
| Constructor and Description |
|---|
GHGistBuilder(GitHub root) |
Copyright © 2017. All rights reserved.