Uses of Class
org.kohsuke.github.GHRepository
Packages that use GHRepository
-
Uses of GHRepository in org.kohsuke.github
Fields in org.kohsuke.github declared as GHRepositoryMethods in org.kohsuke.github that return GHRepositoryModifier and TypeMethodDescriptionGHCreateRepositoryBuilder.create()Creates a repository with all the parameters.GHOrganization.createRepository(String name, String description, String homepage, String team, boolean isPublic) Deprecated.GHOrganization.createRepository(String name, String description, String homepage, GHTeam team, boolean isPublic) Deprecated.UseGHOrganization.createRepository(String)that uses a builder pattern to let you control every aspect.GitHub.createRepository(String name, String description, String homepage, boolean isPublic) Deprecated.UseGitHub.createRepository(String)that uses a builder pattern to let you control every aspect.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.GitHub.getRepositoryById(String id) Deprecated.Do not use this method.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.Methods in org.kohsuke.github that return types with arguments of type GHRepositoryModifier 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 up repositories that has some open pull requests.GHPerson.iterateRepositories(int pageSize) Deprecated.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.GHMyself.listAllRepositories()Deprecated.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.This method cannot work on aGHAppInstallationretrieved fromGHApp.listInstallations()(for example), except when resorting to unsupported hacks involvingGHAppInstallation.setRoot(GitHub)to switch from an application client to an installation client.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(int pageSize) Lists up all the repositories using the specified page size.GHPerson.listRepositories()Lists up all the repositories using a 30 items page size.GHPerson.listRepositories(int pageSize) Lists up all the repositories using the specified page size.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.Methods in org.kohsuke.github with parameters of type GHRepositoryModifier and TypeMethodDescriptionvoidGHTeam.add(GHRepository r) Add.voidGHTeam.add(GHRepository r, GHOrganization.Permission permission) voidGHTeam.add(GHRepository r, GHOrganization.RepositoryRole permission) Add.GHOrganization.createTeam(String name, GHOrganization.Permission p, GHRepository... repositories) Deprecated.https://developer.github.com/v3/teams/#create-team deprecates permission field useGHOrganization.createTeam(String)GHOrganization.createTeam(String name, GHRepository... repositories) Deprecated.UseGHOrganization.createTeam(String)that uses a builder pattern to let you control every aspect.GHCreateRepositoryBuilder.fromTemplateRepository(GHRepository templateRepository) Create repository from template repository.voidGHTeam.remove(GHRepository r) Remove.GHPullRequestSearchBuilder.repo(GHRepository repository) Repository gh pull request search builder.voidGHEventPayload.Fork.setForkee(GHRepository forkee) Deprecated.Do not use this method.voidGHRelease.setOwner(GHRepository owner) Deprecated.Do not use this method.voidGHEventPayload.setRepository(GHRepository repository) Deprecated.Do not use this method.GHCompare.wrap(GHRepository owner) Deprecated.GHDeployKey.wrap(GHRepository repo) Deprecated.GHDeploymentStatus.wrap(GHRepository owner) Deprecated.GHMilestone.wrap(GHRepository repo) Deprecated.GHProject.wrap(GHRepository repo) Deprecated.Method parameters in org.kohsuke.github with type arguments of type GHRepositoryModifier and TypeMethodDescriptionGHOrganization.createTeam(String name, Collection<GHRepository> repositories) Deprecated.UseGHOrganization.createTeam(String)that uses a builder pattern to let you control every aspect.GHOrganization.createTeam(String name, GHOrganization.Permission p, Collection<GHRepository> repositories) Deprecated.https://developer.github.com/v3/teams/#create-team deprecates permission field useGHOrganization.createTeam(String)voidGHAppInstallationToken.setRepositories(List<GHRepository> repositories) Deprecated.Do not use this method.Constructors in org.kohsuke.github with parameters of type GHRepositoryModifierConstructorDescriptionInstantiates 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.Instantiates a new Gh repository statistics.protectedSetter(GHRepository repository) Instantiates a new setter.protectedUpdater(GHRepository repository) Instantiates a new updater.
GHOrganization.createRepository(String)that uses a builder pattern to let you control every aspect.