| Package | Description |
|---|---|
| org.kohsuke.github |
| Modifier and Type | Method and Description |
|---|---|
GHRepository |
GHCreateRepositoryBuilder.create()
Creates a repository with all the parameters.
|
GHRepository |
GitHub.createRepository(String name,
String description,
String homepage,
boolean isPublic)
Deprecated.
Use
GitHub.createRepository(String) that uses a builder pattern to let you control every aspect. |
GHRepository |
GHOrganization.createRepository(String name,
String description,
String homepage,
GHTeam team,
boolean isPublic)
Deprecated.
Use
GHOrganization.createRepository(String) that uses a builder pattern to let you control every aspect. |
GHRepository |
GHOrganization.createRepository(String name,
String description,
String homepage,
String team,
boolean isPublic)
Deprecated.
Use
GHOrganization.createRepository(String) that uses a builder pattern to let you control every aspect. |
GHRepository |
GHRepository.fork()
Forks this repository as your repository.
|
GHRepository |
GHRepository.forkTo(GHOrganization org)
Forks this repository into an organization.
|
GHRepository |
GHEventPayload.Fork.getForkee()
Gets forkee.
|
GHRepository |
GHRelease.getOwner()
Gets owner.
|
GHRepository |
GHAsset.getOwner()
Gets owner.
|
GHRepository |
GHMilestone.getOwner()
Gets owner.
|
GHRepository |
GHCommit.getOwner()
Gets owner.
|
GHRepository |
GHContent.getOwner()
Gets owner.
|
GHRepository |
GHTagObject.getOwner()
Gets owner.
|
GHRepository |
GHBranch.getOwner()
Gets owner.
|
GHRepository |
GHCommitComment.getOwner()
Gets owner.
|
GHRepository |
GHTag.getOwner()
Gets owner.
|
GHRepository |
GHRepository.getParent()
Forked repositories have a 'parent' attribute that specifies the repository this repository is directly forked
from.
|
GHRepository |
GHEventPayload.CheckRun.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.PullRequest.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.PullRequestReview.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.PullRequestReviewComment.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Issue.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.IssueComment.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.CommitComment.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Create.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Delete.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Deployment.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.DeploymentStatus.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Fork.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Ping.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Public.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Push.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Release.getRepository()
Gets repository.
|
GHRepository |
GHEventPayload.Repository.getRepository()
Gets repository.
|
GHRepository |
GHCommitPointer.getRepository()
The repository that contains the commit.
|
GHRepository |
GHEventInfo.getRepository()
Gets repository.
|
GHRepository |
GHIssue.getRepository()
Repository to which the issue belongs.
|
GHRepository |
GHSubscription.getRepository()
Gets repository.
|
GHRepository |
GHThread.getRepository()
Gets repository.
|
GHRepository |
GHStargazer.getRepository()
Gets the repository that is stargazed
|
GHRepository |
GHPerson.getRepository(String name)
Gets repository.
|
GHRepository |
GitHub.getRepository(String name)
Gets the repository object from 'user/reponame' string that GitHub calls as "repository name"
|
GHRepository |
GitHub.getRepositoryById(String id)
Gets the repository object from its ID
|
GHRepository |
GHRepository.getSource()
Forked repositories have a 'source' attribute that specifies the ultimate source of the forking chain.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,GHRepository> |
GHMyself.getAllRepositories()
Gets the all repositories this user owns (public and private).
|
Map<String,GHRepository> |
GHTeam.getRepositories()
Gets repositories.
|
List<GHRepository> |
GHAppInstallationToken.getRepositories()
Gets repositories.
|
Map<String,GHRepository> |
GHPerson.getRepositories()
Gets the public repositories this user owns.
|
List<GHRepository> |
GHOrganization.getRepositoriesWithOpenPullRequests()
List up repositories that has some open pull requests.
|
Iterable<List<GHRepository>> |
GHPerson.iterateRepositories(int pageSize)
Deprecated.
|
PagedIterable<GHRepository> |
GitHub.listAllPublicRepositories()
This provides a dump of every public repository, in the order that they were created.
|
PagedIterable<GHRepository> |
GitHub.listAllPublicRepositories(String since)
This provides a dump of every public repository, in the order that they were created.
|
PagedIterable<GHRepository> |
GHMyself.listAllRepositories()
Deprecated.
|
PagedIterable<GHRepository> |
GHRepository.listForks()
Lists all the direct forks of this repository, sorted by github api default, currently
ForkSort.NEWEST*. |
PagedIterable<GHRepository> |
GHRepository.listForks(GHRepository.ForkSort sort)
Lists all the direct forks of this repository, sorted by the given sort order.
|
PagedIterable<GHRepository> |
GHTeam.listRepositories()
List repositories paged iterable.
|
PagedIterable<GHRepository> |
GHMyself.listRepositories()
Lists up all repositories this user owns (public and private).
|
PagedIterable<GHRepository> |
GHPerson.listRepositories()
Lists up all the repositories using a 30 items page size.
|
PagedIterable<GHRepository> |
GHOrganization.listRepositories(int pageSize)
Lists up all the repositories using the specified page size.
|
PagedIterable<GHRepository> |
GHMyself.listRepositories(int pageSize)
List repositories that are accessible to the authenticated user (public and private) using the specified page
size.
|
PagedIterable<GHRepository> |
GHPerson.listRepositories(int pageSize)
Lists up all the repositories using the specified page size.
|
PagedIterable<GHRepository> |
GHMyself.listRepositories(int pageSize,
GHMyself.RepositoryListFilter repoType)
List repositories of a certain type that are accessible by current authenticated user using the specified page
size.
|
PagedIterable<GHRepository> |
GHUser.listStarredRepositories()
Lists all the repositories that this user has starred.
|
PagedIterable<GHRepository> |
GHUser.listSubscriptions()
Lists all the subscribed (aka watched) repositories.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GHTeam.add(GHRepository r)
Add.
|
void |
GHTeam.add(GHRepository r,
GHOrganization.Permission permission)
Add.
|
GHTeam |
GHOrganization.createTeam(String name,
GHOrganization.Permission p,
GHRepository... repositories)
Deprecated.
https://developer.github.com/v3/teams/#create-team deprecates permission field use
GHOrganization.createTeam(String, GHRepository...) |
GHTeam |
GHOrganization.createTeam(String name,
GHRepository... repositories)
Create team gh team.
|
void |
GHTeam.remove(GHRepository r)
Remove.
|
void |
GHEventPayload.Fork.setForkee(GHRepository forkee)
Sets forkee.
|
void |
GHRelease.setOwner(GHRepository owner)
Sets owner.
|
void |
GHEventPayload.Issue.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.IssueComment.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.CommitComment.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Create.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Delete.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Deployment.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.DeploymentStatus.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Fork.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Ping.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Public.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Release.setRepository(GHRepository repository)
Sets repository.
|
void |
GHEventPayload.Repository.setRepository(GHRepository repository)
Sets repository.
|
static GHContent[] |
GHContent.wrap(GHContent[] contents,
GHRepository repository)
Wrap gh content [ ].
|
GHDeploymentStatus |
GHDeploymentStatus.wrap(GHRepository owner)
Wrap gh deployment status.
|
GHDeployKey |
GHDeployKey.wrap(GHRepository repo)
Wrap gh deploy key.
|
GHMilestone |
GHMilestone.wrap(GHRepository repo)
Wrap gh milestone.
|
GHCompare |
GHCompare.wrap(GHRepository owner)
Wrap gh compare.
|
GHProject |
GHProject.wrap(GHRepository repo)
Wrap gh project.
|
| Modifier and Type | Method and Description |
|---|---|
GHTeam |
GHOrganization.createTeam(String name,
Collection<GHRepository> repositories)
Creates a new team and assigns the repositories.
|
GHTeam |
GHOrganization.createTeam(String name,
GHOrganization.Permission p,
Collection<GHRepository> repositories)
Deprecated.
https://developer.github.com/v3/teams/#create-team deprecates permission field use
GHOrganization.createTeam(String, Collection) |
void |
GHAppInstallationToken.setRepositories(List<GHRepository> repositories)
Sets repositories.
|
| Constructor and Description |
|---|
GHDeploymentBuilder(GHRepository repo)
Instantiates a new Gh deployment builder.
|
GHDeploymentBuilder(GHRepository repo,
String ref)
Instantiates a new Gh deployment builder.
|
GHDeploymentStatusBuilder(GHRepository repo,
int deploymentId,
GHDeploymentState state)
Deprecated.
|
GHReleaseBuilder(GHRepository ghRepository,
String tag)
Instantiates a new Gh release builder.
|
GHRepositoryStatistics(GHRepository repo)
Instantiates a new Gh repository statistics.
|
Copyright © 2020. All rights reserved.