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
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GHEventvalueOf(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
-
CHECK_RUN
public static final GHEvent CHECK_RUN
-
CHECK_SUITE
public static final GHEvent CHECK_SUITE
-
CODE_SCANNING_ALERT
public static final GHEvent CODE_SCANNING_ALERT
-
COMMIT_COMMENT
public static final GHEvent COMMIT_COMMENT
-
CONTENT_REFERENCE
public static final GHEvent CONTENT_REFERENCE
-
CREATE
public static final GHEvent CREATE
-
DELETE
public static final GHEvent DELETE
-
DEPLOY_KEY
public static final GHEvent DEPLOY_KEY
-
DEPLOYMENT
public static final GHEvent DEPLOYMENT
-
DEPLOYMENT_STATUS
public static final GHEvent DEPLOYMENT_STATUS
-
DOWNLOAD
public static final GHEvent DOWNLOAD
-
FOLLOW
public static final GHEvent FOLLOW
-
FORK
public static final GHEvent FORK
-
FORK_APPLY
public static final GHEvent FORK_APPLY
-
GITHUB_APP_AUTHORIZATION
public static final GHEvent GITHUB_APP_AUTHORIZATION
-
GIST
public static final GHEvent GIST
-
GOLLUM
public static final GHEvent GOLLUM
-
INSTALLATION
public static final GHEvent INSTALLATION
-
INSTALLATION_REPOSITORIES
public static final GHEvent INSTALLATION_REPOSITORIES
-
INTEGRATION_INSTALLATION_REPOSITORIES
public static final GHEvent INTEGRATION_INSTALLATION_REPOSITORIES
-
ISSUE_COMMENT
public static final GHEvent ISSUE_COMMENT
-
ISSUES
public static final GHEvent ISSUES
-
LABEL
public static final GHEvent LABEL
-
MARKETPLACE_PURCHASE
public static final GHEvent MARKETPLACE_PURCHASE
-
MEMBER
public static final GHEvent MEMBER
-
MEMBERSHIP
public static final GHEvent MEMBERSHIP
-
META
public static final GHEvent META
-
MILESTONE
public static final GHEvent MILESTONE
-
ORGANIZATION
public static final GHEvent ORGANIZATION
-
ORG_BLOCK
public static final GHEvent ORG_BLOCK
-
PACKAGE
public static final GHEvent PACKAGE
-
PAGE_BUILD
public static final GHEvent PAGE_BUILD
-
PROJECT_CARD
public static final GHEvent PROJECT_CARD
-
PROJECT_COLUMN
public static final GHEvent PROJECT_COLUMN
-
PROJECT
public static final GHEvent PROJECT
-
PING
public static final GHEvent PING
-
PUBLIC
public static final GHEvent PUBLIC
-
PULL_REQUEST
public static final GHEvent PULL_REQUEST
-
PULL_REQUEST_REVIEW
public static final GHEvent PULL_REQUEST_REVIEW
-
PULL_REQUEST_REVIEW_COMMENT
public static final GHEvent PULL_REQUEST_REVIEW_COMMENT
-
PUSH
public static final GHEvent PUSH
-
REGISTRY_PACKAGE
public static final GHEvent REGISTRY_PACKAGE
-
RELEASE
public static final GHEvent RELEASE
-
REPOSITORY_DISPATCH
public static final GHEvent REPOSITORY_DISPATCH
-
REPOSITORY
public static final GHEvent REPOSITORY
-
REPOSITORY_IMPORT
public static final GHEvent REPOSITORY_IMPORT
-
REPOSITORY_VULNERABILITY_ALERT
public static final GHEvent REPOSITORY_VULNERABILITY_ALERT
-
SECURITY_ADVISORY
public static final GHEvent SECURITY_ADVISORY
-
STAR
public static final GHEvent STAR
-
STATUS
public static final GHEvent STATUS
-
TEAM
public static final GHEvent TEAM
-
TEAM_ADD
public static final GHEvent TEAM_ADD
-
WATCH
public static final GHEvent WATCH
-
WORKFLOW_DISPATCH
public static final GHEvent WORKFLOW_DISPATCH
-
WORKFLOW_RUN
public static final GHEvent WORKFLOW_RUN
-
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
-
-