java.lang.Object
org.kohsuke.github.GHEventPayload
org.kohsuke.github.GHEventPayload.Installation
- Enclosing class:
- GHEventPayload
An installation has been installed, uninstalled, or its permissions have been changed.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A special minimal implementation of aGHRepository
which contains only fields from "Properties of repositories" from hereNested classes/interfaces inherited from class org.kohsuke.github.GHEventPayload
GHEventPayload.CheckRun, GHEventPayload.CheckSuite, GHEventPayload.CommentChanges, GHEventPayload.CommitComment, GHEventPayload.Create, GHEventPayload.Delete, GHEventPayload.Deployment, GHEventPayload.DeploymentStatus, GHEventPayload.Discussion, GHEventPayload.DiscussionComment, GHEventPayload.Fork, GHEventPayload.Installation, GHEventPayload.InstallationRepositories, GHEventPayload.Issue, GHEventPayload.IssueComment, GHEventPayload.Label, GHEventPayload.Member, GHEventPayload.Membership, GHEventPayload.Ping, GHEventPayload.ProjectsV2Item, GHEventPayload.Public, GHEventPayload.PullRequest, GHEventPayload.PullRequestReview, GHEventPayload.PullRequestReviewComment, GHEventPayload.Push, GHEventPayload.Release, GHEventPayload.Star, GHEventPayload.Status, GHEventPayload.Team, GHEventPayload.TeamAdd, GHEventPayload.WorkflowDispatch, GHEventPayload.WorkflowJob, GHEventPayload.WorkflowRun
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of raw, unpopulated repositories.Gets repositories.Methods inherited from class org.kohsuke.github.GHEventPayload
getAction, getInstallation, getOrganization, getRepository, getSender
-
Constructor Details
-
Installation
public Installation()Create default Installation instance
-
-
Method Details
-
getRepositories
Gets repositories. For the "deleted" action please rather callgetRawRepositories()
- Returns:
- the repositories
-
getRawRepositories
Returns a list of raw, unpopulated repositories. Useful when calling from within Installation event with action "deleted". You can't fetch the info for repositories of an already deleted installation.- Returns:
- the list of raw Repository records
-