Class GHEventPayload.Installation

java.lang.Object
org.kohsuke.github.GHEventPayload
org.kohsuke.github.GHEventPayload.Installation
Enclosing class:
GHEventPayload

public static class GHEventPayload.Installation extends GHEventPayload
An installation has been installed, uninstalled, or its permissions have been changed.
See Also:
  • Constructor Details

    • Installation

      public Installation()
      Create default Installation instance
  • Method Details

    • getRepositories

      public List<GHRepository> getRepositories()
      Gets repositories. For the "deleted" action please rather call getRawRepositories()
      Returns:
      the repositories
    • getRawRepositories

      public List<GHEventPayload.Installation.Repository> 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