Package org.kohsuke.github
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:
GHEventInfo
, Event type reference
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Special event type that means "every possible event".BRANCH_PROTECTION_RULE
The branch protection rule.CHECK_RUN
The check run.CHECK_SUITE
The check suite.CODE_SCANNING_ALERT
The code scanning alert.COMMIT_COMMENT
The commit comment.CONTENT_REFERENCE
The content reference.CREATE
The create.DELETE
The delete.DEPLOY_KEY
The deploy key.DEPLOYMENT
The deployment.DEPLOYMENT_STATUS
The deployment status.DISCUSSION
The discussion.DISCUSSION_COMMENT
The discussion comment.DOWNLOAD
The download.FOLLOW
The follow.FORK
The fork.FORK_APPLY
The fork apply.GIST
The gist.GITHUB_APP_AUTHORIZATION
The github app authorization.GOLLUM
The gollum.INSTALLATION
The installation.INSTALLATION_REPOSITORIES
The installation repositories.INTEGRATION_INSTALLATION_REPOSITORIES
The integration installation repositories.ISSUE_COMMENT
The issue comment.ISSUES
The issues.LABEL
The label.MARKETPLACE_PURCHASE
The marketplace purchase.MEMBER
The member.MEMBERSHIP
The membership.MERGE_QUEUE_ENTRY
The merge queue entry.META
The meta.MILESTONE
The milestone.ORG_BLOCK
The org block.ORGANIZATION
The organization.PACKAGE
The package.PAGE_BUILD
The page build.PING
The ping.PROJECT
The project.PROJECT_CARD
The project card.PROJECT_COLUMN
The project column.PUBLIC
The public.PULL_REQUEST
The pull request.PULL_REQUEST_REVIEW
The pull request review.PULL_REQUEST_REVIEW_COMMENT
The pull request review comment.PULL_REQUEST_REVIEW_THREAD
The pull request review thread.PUSH
The push.REGISTRY_PACKAGE
The registry package.RELEASE
The release.REPOSITORY
The repository.REPOSITORY_DISPATCH
The repository dispatch.REPOSITORY_IMPORT
The repository import.REPOSITORY_VULNERABILITY_ALERT
The repository vulnerability alert.SCHEDULE
The schedule.SECURITY_ADVISORY
The security advisory.STAR
The star.STATUS
The status.TEAM
The team.TEAM_ADD
The team add.UNKNOWN
Special event type that means we haven't found an enum value corresponding to the event.WATCH
The watch.WORKFLOW_DISPATCH
The workflow dispatch.WORKFLOW_JOB
The workflow job.WORKFLOW_RUN
The workflow run.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GHEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static GHEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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.
-
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 Detail
-
values
public static GHEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GHEvent c : GHEvent.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
-