| Package | Description |
|---|---|
| org.kohsuke.github |
| Modifier and Type | Method and Description |
|---|---|
GHRepository |
GHCreateRepositoryBuilder.create()
Creates a repository with all the parameters.
|
GHRepository |
GitHub.createRepository(java.lang.String name,
java.lang.String description,
java.lang.String homepage,
boolean isPublic)
Deprecated.
Use
GitHub.createRepository(String) that uses a builder pattern to let you control every aspect. |
GHRepository |
GHOrganization.createRepository(java.lang.String name,
java.lang.String description,
java.lang.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(java.lang.String name,
java.lang.String description,
java.lang.String homepage,
java.lang.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 |
GHCommit.getOwner()
The repository that contains the commit.
|
GHRepository |
GHCommitComment.getOwner() |
GHRepository |
GHContent.getOwner() |
GHRepository |
GHBranch.getOwner()
Repository that this branch is in.
|
GHRepository |
GHAsset.getOwner() |
GHRepository |
GHRelease.getOwner() |
GHRepository |
GHTag.getOwner() |
GHRepository |
GHMilestone.getOwner() |
GHRepository |
GHRepository.getParent()
Forked repositories have a 'parent' attribute that specifies the repository this repository
is directly forked from.
|
GHRepository |
GHEventInfo.getRepository()
Repository where the change was made.
|
GHRepository |
GHEventPayload.PullRequest.getRepository() |
GHRepository |
GHEventPayload.IssueComment.getRepository() |
GHRepository |
GHEventPayload.Push.getRepository() |
GHRepository |
GHIssue.getRepository()
Repository to which the issue belongs.
|
GHRepository |
GHCommitPointer.getRepository()
The repository that contains the commit.
|
GHRepository |
GHThread.getRepository() |
GHRepository |
GHSubscription.getRepository() |
GHRepository |
GHStargazer.getRepository()
Gets the repository that is stargazed
|
GHRepository |
GitHub.getRepository(java.lang.String name)
Gets the repository object from 'user/reponame' string that GitHub calls as "repository name"
|
GHRepository |
GHPerson.getRepository(java.lang.String name) |
GHRepository |
GHRepository.getSource()
Forked repositories have a 'source' attribute that specifies the ultimate source of the forking chain.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,GHRepository> |
GHMyself.getAllRepositories()
Gets the all repositories this user owns (public and private).
|
java.util.Map<java.lang.String,GHRepository> |
GHPerson.getRepositories()
Gets the public repositories this user owns.
|
java.util.Map<java.lang.String,GHRepository> |
GHTeam.getRepositories() |
java.util.List<GHRepository> |
GHOrganization.getRepositoriesWithOpenPullRequests()
List up repositories that has some open pull requests.
|
java.lang.Iterable<java.util.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(java.lang.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> |
GHPerson.listRepositories()
Lists up all the repositories using a 30 items page size.
|
PagedIterable<GHRepository> |
GHMyself.listRepositories()
Lists up all repositories this user owns (public and private).
|
PagedIterable<GHRepository> |
GHTeam.listRepositories() |
PagedIterable<GHRepository> |
GHPerson.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> |
GHOrganization.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) |
void |
GHTeam.add(GHRepository r,
GHOrganization.Permission permission) |
GHTeam |
GHOrganization.createTeam(java.lang.String name,
GHOrganization.Permission p,
GHRepository... repositories) |
void |
GHTeam.remove(GHRepository r) |
void |
GHRelease.setOwner(GHRepository owner) |
void |
GHEventPayload.IssueComment.setRepository(GHRepository repository) |
static GHContent[] |
GHContent.wrap(GHContent[] contents,
GHRepository repository) |
GHDeploymentStatus |
GHDeploymentStatus.wrap(GHRepository owner) |
GHCompare |
GHCompare.wrap(GHRepository owner) |
GHDeployKey |
GHDeployKey.wrap(GHRepository repo) |
GHMilestone |
GHMilestone.wrap(GHRepository repo) |
| Modifier and Type | Method and Description |
|---|---|
GHTeam |
GHOrganization.createTeam(java.lang.String name,
GHOrganization.Permission p,
java.util.Collection<GHRepository> repositories)
Creates a new team and assigns the repositories.
|
| Constructor and Description |
|---|
GHDeploymentBuilder(GHRepository repo) |
GHDeploymentBuilder(GHRepository repo,
java.lang.String ref) |
GHDeploymentStatusBuilder(GHRepository repo,
int deploymentId,
GHDeploymentState state) |
GHReleaseBuilder(GHRepository ghRepository,
java.lang.String tag) |
Copyright © 2016. All Rights Reserved.