Uses of Annotation Type
org.kohsuke.github.Preview
Packages that use Preview
-
Uses of Preview in org.kohsuke.github
Classes in org.kohsuke.github with annotations of type PreviewModifier and TypeClassDescriptionfinal classDrafts or updates a check run.classSearch commits.classReaction to issue, comment, PR, and so on.interfaceMethods in org.kohsuke.github with annotations of type PreviewModifier 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.voidGHAppInstallation.deleteInstallation()Delete a Github App installationvoidGHBranchProtection.disableSignedCommits()Disable signed commits.voidGHBranchProtection.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.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.booleanGHBranchProtection.getRequiredSignatures()Gets required signatures.GHRepository.getVisibility()Gets the visibility of the repository.booleanGHDeployment.isProductionEnvironment()Deprecated.until preview feature has graduated to stablebooleanGHBranch.isProtected()Is protected boolean.booleanGHRepository.isTemplate()Is template boolean.booleanGHDeployment.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.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 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.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.voidGHRepository.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.voidGHPullRequest.updateBranch()Updates the branch.GHRepository.updateCheckRun(long checkId) Updates an existing check run.