Uses of Annotation Type
org.kohsuke.github.Preview
-
Uses of Preview in org.kohsuke.github
Modifier and TypeClassDescriptionfinal class
Drafts or updates a check run.class
Search commits.class
Reaction to issue, comment, PR, and so on.interface
Modifier and TypeMethodDescriptionGHDeploymentStatusBuilder.autoInactive
(boolean autoInactive) Deprecated.until preview feature has graduated to stableGHAppCreateTokenBuilder.create()
Creates an app token with all the parameters.GHRepository.createCheckRun
(String name, String headSHA) Creates a check run for a commit.GHCommitComment.createReaction
(ReactionContent content) Creates the reaction.GHIssue.createReaction
(ReactionContent content) Creates the reaction.GHIssueComment.createReaction
(ReactionContent content) Creates the reaction.GHPullRequestReviewComment.createReaction
(ReactionContent content) Creates the reaction.Reactable.createReaction
(ReactionContent content) Leaves a reaction to this object.void
GHAppInstallation.deleteInstallation()
Delete a Github App installationvoid
GHBranchProtection.disableSignedCommits()
Disable signed commits.void
GHBranchProtection.enabledSignedCommits()
Enabled signed commits.GHBranch.enableProtection()
Enables branch protection to control what commit statuses are required to push.GHDeploymentStatusBuilder.environment
(String environment) Deprecated.until preview feature has graduated to stableGHDeploymentStatusBuilder.environmentUrl
(String environmentUrl) Deprecated.until preview feature has graduated to stableGHCreateRepositoryBuilder.fromTemplateRepository
(String templateOwner, String templateRepo) Create repository from template repository.GHCreateRepositoryBuilder.fromTemplateRepository
(GHRepository templateRepository) Create repository from template repository.GitHub.getApp()
Returns the GitHub App associated with the authentication credentials used.GHCommit.getCheckRuns()
Gets check-runs for given sha.GHRepository.getCheckRuns
(String ref) Gets check runs for given ref.GHRepository.getCheckRuns
(String ref, Map<String, Object> params) Gets check runs for given ref which validate provided parametersGHDeploymentStatus.getEnvironmentUrl()
Deprecated.until preview feature has graduated to stableGitHub.getInstallation()
Returns the GitHub App Installation associated with the authentication credentials used.GHApp.getInstallationById
(long id) Obtain an installation associated with this app.GHApp.getInstallationByOrganization
(String name) Obtain an organization installation associated with this app.GHApp.getInstallationByRepository
(String ownerName, String repositoryName) Obtain an repository installation associated with this app.GHApp.getInstallationByUser
(String name) Obtain a user installation associated with this app.GHDeploymentStatus.getLogUrl()
Deprecated.until preview feature has graduated to stableGHDeployment.getOriginalEnvironment()
Deprecated.until preview feature has graduated to stableGHBranch.getProtection()
Gets protection.GHBranch.getProtectionUrl()
Gets protection url.boolean
GHBranchProtection.getRequiredSignatures()
Gets required signatures.GHRepository.getVisibility()
Gets the visibility of the repository.boolean
GHDeployment.isProductionEnvironment()
Deprecated.until preview feature has graduated to stableboolean
GHBranch.isProtected()
Is protected boolean.boolean
GHRepository.isTemplate()
Is template boolean.boolean
GHDeployment.isTransientEnvironment()
Deprecated.until preview feature has graduated to stableGHCommit.listBranchesWhereHead()
Retrieves a list of branches where this commit is the head commit.GHApp.listInstallations()
Obtains all the installations associated with this app.GHApp.listInstallations
(Date since) Obtains all the installations associated with this app since a given date.GHUser.listProjects()
Lists all the projects.GHCommit.listPullRequests()
Retrieves a list of pull requests which contain this commit.GHCommitComment.listReactions()
List reactions.GHIssue.listReactions()
List reactions.GHIssueComment.listReactions()
List reactions.GHPullRequestReviewComment.listReactions()
List reactions.Reactable.listReactions()
List all the reactions left to this object.GHAppInstallation.listRepositories()
Deprecated.This method cannot work on aGHAppInstallation
retrieved 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.Deprecated.until preview feature has graduated to stableGHDeploymentBuilder.productionEnvironment
(boolean productionEnvironment) Deprecated.until preview feature has graduated to stableGitHub.searchCommits()
Search commits.GHDiscussion.set()
Begins a single property update.void
GHRepository.setVisibility
(GHRepository.Visibility value) Sets visibility.GHDeploymentBuilder.transientEnvironment
(boolean transientEnvironment) Deprecated.until preview feature has graduated to stableGHCheckRun.update()
Updates this check run.GHDiscussion.update()
Begins a batch update Consumer must callAbstractBuilder.done()
to commit changes.void
GHPullRequest.updateBranch()
Updates the branch.GHRepository.updateCheckRun
(long checkId) Updates an existing check run.