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()
  • 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
    • getRoot

      @Deprecated public GitHub getRoot()
      Deprecated.
      For access to the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance