Uses of Class
org.kohsuke.github.GHRepository
-
Uses of GHRepository in org.kohsuke.github
Modifier and TypeMethodDescriptionGHCreateRepositoryBuilder.create()
Creates a repository with all the parameters.GHRepository.fork()
Forks this repository as your repository.GHRepository.forkTo
(GHOrganization org) Forks this repository into an organization.GHEventPayload.Fork.getForkee()
Gets forkee.GHWorkflowRun.getHeadRepository()
The repository of current head.GHAsset.getOwner()
Gets owner.GHBranch.getOwner()
Gets owner.GHBranchSync.getOwner()
Gets owner.GHCommit.getOwner()
Gets owner.GHCommitComment.getOwner()
Gets owner.GHContent.getOwner()
Gets owner.GHMilestone.getOwner()
Gets owner.GHRelease.getOwner()
Gets owner.GHTag.getOwner()
Gets owner.GHTagObject.getOwner()
Gets owner.GitCommit.getOwner()
Gets owner.GHRepository.getParent()
Forked repositories have a 'parent' attribute that specifies the repository this repository is directly forked from.GHArtifact.getRepository()
Repository to which the artifact belongs.GHCommitPointer.getRepository()
The repository that contains the commit.GHEventInfo.getRepository()
Gets repository.GHEventPayload.getRepository()
Gets repository.GHIssue.getRepository()
Repository to which the issue belongs.GHPerson.getRepository
(String name) Gets repository.GHStargazer.getRepository()
Gets the repository that is stargazed.GHSubscription.getRepository()
Gets repository.GHThread.getRepository()
Gets repository.GHWorkflow.getRepository()
Repository to which the workflow belongs.GHWorkflowJob.getRepository()
Repository to which the job belongs.GHWorkflowRun.getRepository()
Repository to which the workflow run belongs.GitHub.getRepository
(String name) Gets the repository object from 'owner/repo' string that GitHub calls as "repository name".GitHub.getRepositoryById
(long id) Gets the repository object from its ID.GHRepository.getSource()
Forked repositories have a 'source' attribute that specifies the ultimate source of the forking chain.GHRepository.getTemplateRepository()
Get Repository template was the repository created from.Modifier and TypeMethodDescriptionGHMyself.getAllRepositories()
Gets the all repositories this user owns (public and private).GHAppInstallationToken.getRepositories()
Gets repositories.GHEventPayload.Installation.getRepositories()
Gets repositories.GHPerson.getRepositories()
Gets the public repositories this user owns.GHTeam.getRepositories()
Gets repositories.GHEventPayload.InstallationRepositories.getRepositoriesAdded()
Gets repositories added.GHEventPayload.InstallationRepositories.getRepositoriesRemoved()
Gets repositories removed.GHOrganization.getRepositoriesWithOpenPullRequests()
List repositories that has some open pull requests.GitHub.listAllPublicRepositories()
This provides a dump of every public repository, in the order that they were created.GitHub.listAllPublicRepositories
(String since) This provides a dump of every public repository, in the order that they were created.GHRepository.listForks()
Lists all the direct forks of this repository, sorted by github api default, currentlyForkSort.NEWEST
*.GHRepository.listForks
(GHRepository.ForkSort sort) Lists all the direct forks of this repository, sorted by the given sort order.GHAppInstallation.listRepositories()
Deprecated.GHAuthenticatedAppInstallation.listRepositories()
List repositories that this app installation can access.GHMyself.listRepositories()
Lists up all repositories this user owns (public and private).GHMyself.listRepositories
(int pageSize) List repositories that are accessible to the authenticated user (public and private) using the specified page size.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.GHOrganization.listRepositories()
List all the repositories using a default of 30 items page size.GHPerson.listRepositories()
List all the repositories using a default of 30 items page size.GHPerson.listRepositories
(int pageSize) Deprecated.Use #listRepositories().withPageSize() instead.GHTeam.listRepositories()
List repositories paged iterable.GHUser.listStarredRepositories()
Lists all the repositories that this user has starred.GHUser.listSubscriptions()
Lists all the subscribed (aka watched) repositories.Modifier and TypeMethodDescriptionvoid
GHTeam.add
(GHRepository r) Add.void
GHTeam.add
(GHRepository r, GHOrganization.RepositoryRole permission) Add.GHCreateRepositoryBuilder.fromTemplateRepository
(GHRepository templateRepository) Create repository from template repository.void
GHTeam.remove
(GHRepository r) Remove.GHPullRequestSearchBuilder.repo
(GHRepository repository) Repository gh pull request search builder.ModifierConstructorDescriptionInstantiates a new Gh deployment builder.GHDeploymentBuilder
(GHRepository repo, String ref) Instantiates a new Gh deployment builder.GHReleaseBuilder
(GHRepository ghRepository, String tag) Instantiates a new Gh release builder.Instantiates a new Gh repository statistics.protected
Setter
(GHRepository repository) Instantiates a new setter.protected
Updater
(GHRepository repository) Instantiates a new updater.
GHAppInstallation
retrieved fromGHApp.listInstallations()
(for example), except when resorting to unsupported hacks involving setRoot(GitHub) to switch from an application client to an installation client.