Enum GHEvent

java.lang.Object
java.lang.Enum<GHEvent>
org.kohsuke.github.GHEvent
All Implemented Interfaces:
Serializable, Comparable<GHEvent>

public enum GHEvent extends Enum<GHEvent>
Hook event type.
Author:
Kohsuke Kawaguchi
See Also:
  • Enum Constant Details

    • BRANCH_PROTECTION_RULE

      public static final GHEvent BRANCH_PROTECTION_RULE
      The branch protection rule.
    • CHECK_RUN

      public static final GHEvent CHECK_RUN
      The check run.
    • CHECK_SUITE

      public static final GHEvent CHECK_SUITE
      The check suite.
    • CODE_SCANNING_ALERT

      public static final GHEvent CODE_SCANNING_ALERT
      The code scanning alert.
    • COMMIT_COMMENT

      public static final GHEvent COMMIT_COMMENT
      The commit comment.
    • CONTENT_REFERENCE

      public static final GHEvent CONTENT_REFERENCE
      The content reference.
    • CREATE

      public static final GHEvent CREATE
      The create.
    • DELETE

      public static final GHEvent DELETE
      The delete.
    • DEPLOY_KEY

      public static final GHEvent DEPLOY_KEY
      The deploy key.
    • DEPLOYMENT

      public static final GHEvent DEPLOYMENT
      The deployment.
    • DEPLOYMENT_STATUS

      public static final GHEvent DEPLOYMENT_STATUS
      The deployment status.
    • DISCUSSION

      public static final GHEvent DISCUSSION
      The discussion.
    • DISCUSSION_COMMENT

      public static final GHEvent DISCUSSION_COMMENT
      The discussion comment.
    • DOWNLOAD

      public static final GHEvent DOWNLOAD
      The download.
    • FOLLOW

      public static final GHEvent FOLLOW
      The follow.
    • FORK

      public static final GHEvent FORK
      The fork.
    • FORK_APPLY

      public static final GHEvent FORK_APPLY
      The fork apply.
    • GITHUB_APP_AUTHORIZATION

      public static final GHEvent GITHUB_APP_AUTHORIZATION
      The github app authorization.
    • GIST

      public static final GHEvent GIST
      The gist.
    • GOLLUM

      public static final GHEvent GOLLUM
      The gollum.
    • INSTALLATION

      public static final GHEvent INSTALLATION
      The installation.
    • INSTALLATION_REPOSITORIES

      public static final GHEvent INSTALLATION_REPOSITORIES
      The installation repositories.
    • INTEGRATION_INSTALLATION_REPOSITORIES

      public static final GHEvent INTEGRATION_INSTALLATION_REPOSITORIES
      The integration installation repositories.
    • ISSUE_COMMENT

      public static final GHEvent ISSUE_COMMENT
      The issue comment.
    • ISSUES

      public static final GHEvent ISSUES
      The issues.
    • LABEL

      public static final GHEvent LABEL
      The label.
    • MARKETPLACE_PURCHASE

      public static final GHEvent MARKETPLACE_PURCHASE
      The marketplace purchase.
    • MEMBER

      public static final GHEvent MEMBER
      The member.
    • MEMBERSHIP

      public static final GHEvent MEMBERSHIP
      The membership.
    • MERGE_QUEUE_ENTRY

      public static final GHEvent MERGE_QUEUE_ENTRY
      The merge queue entry.
    • MERGE_GROUP

      public static final GHEvent MERGE_GROUP
      The merge group entry.
    • META

      public static final GHEvent META
      The meta.
    • MILESTONE

      public static final GHEvent MILESTONE
      The milestone.
    • ORGANIZATION

      public static final GHEvent ORGANIZATION
      The organization.
    • ORG_BLOCK

      public static final GHEvent ORG_BLOCK
      The org block.
    • PACKAGE

      public static final GHEvent PACKAGE
      The package.
    • PAGE_BUILD

      public static final GHEvent PAGE_BUILD
      The page build.
    • PROJECT_CARD

      public static final GHEvent PROJECT_CARD
      The project card.
    • PROJECT_COLUMN

      public static final GHEvent PROJECT_COLUMN
      The project column.
    • PROJECT

      public static final GHEvent PROJECT
      The project.
    • PING

      public static final GHEvent PING
      The ping.
    • PUBLIC

      public static final GHEvent PUBLIC
      The public.
    • PULL_REQUEST

      public static final GHEvent PULL_REQUEST
      The pull request.
    • PULL_REQUEST_REVIEW

      public static final GHEvent PULL_REQUEST_REVIEW
      The pull request review.
    • PULL_REQUEST_REVIEW_COMMENT

      public static final GHEvent PULL_REQUEST_REVIEW_COMMENT
      The pull request review comment.
    • PULL_REQUEST_REVIEW_THREAD

      public static final GHEvent PULL_REQUEST_REVIEW_THREAD
      The pull request review thread.
    • PUSH

      public static final GHEvent PUSH
      The push.
    • REGISTRY_PACKAGE

      public static final GHEvent REGISTRY_PACKAGE
      The registry package.
    • RELEASE

      public static final GHEvent RELEASE
      The release.
    • REPOSITORY_DISPATCH

      public static final GHEvent REPOSITORY_DISPATCH
      The repository dispatch.
    • REPOSITORY

      public static final GHEvent REPOSITORY
      The repository.
    • REPOSITORY_IMPORT

      public static final GHEvent REPOSITORY_IMPORT
      The repository import.
    • REPOSITORY_VULNERABILITY_ALERT

      public static final GHEvent REPOSITORY_VULNERABILITY_ALERT
      The repository vulnerability alert.
    • SCHEDULE

      public static final GHEvent SCHEDULE
      The schedule.
    • SECURITY_ADVISORY

      public static final GHEvent SECURITY_ADVISORY
      The security advisory.
    • STAR

      public static final GHEvent STAR
      The star.
    • STATUS

      public static final GHEvent STATUS
      The status.
    • TEAM

      public static final GHEvent TEAM
      The team.
    • TEAM_ADD

      public static final GHEvent TEAM_ADD
      The team add.
    • WATCH

      public static final GHEvent WATCH
      The watch.
    • WORKFLOW_JOB

      public static final GHEvent WORKFLOW_JOB
      The workflow job.
    • WORKFLOW_DISPATCH

      public static final GHEvent WORKFLOW_DISPATCH
      The workflow dispatch.
    • WORKFLOW_RUN

      public static final GHEvent WORKFLOW_RUN
      The workflow run.
    • UNKNOWN

      public static final GHEvent UNKNOWN
      Special event type that means we haven't found an enum value corresponding to the event.
    • ALL

      public static final GHEvent ALL
      Special event type that means "every possible event".
  • Method Details

    • values

      public static GHEvent[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GHEvent valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null