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 ALLSpecial event type that means "every possible event"CHECK_SUITECOMMIT_COMMENTCREATEDELETEDEPLOYMENTDEPLOYMENT_STATUSDOWNLOADFOLLOWFORKFORK_APPLYGISTGOLLUMINSTALLATIONINSTALLATION_REPOSITORIESINTEGRATION_INSTALLATION_REPOSITORIESISSUE_COMMENTISSUESLABELMARKETPLACE_PURCHASEMEMBERMEMBERSHIPMILESTONEORG_BLOCKORGANIZATIONPAGE_BUILDPINGPROJECTPROJECT_CARDPROJECT_COLUMNPUBLICPULL_REQUESTPULL_REQUEST_REVIEWPULL_REQUEST_REVIEW_COMMENTPUSHRELEASEREPOSITORYSTATUSTEAMTEAM_ADDWATCH
-
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
-
COMMIT_COMMENT
public static final GHEvent COMMIT_COMMENT
-
CREATE
public static final GHEvent CREATE
-
DELETE
public static final GHEvent DELETE
-
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
-
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
-
CHECK_SUITE
public static final GHEvent CHECK_SUITE
-
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
-
MILESTONE
public static final GHEvent MILESTONE
-
ORGANIZATION
public static final GHEvent ORGANIZATION
-
ORG_BLOCK
public static final GHEvent ORG_BLOCK
-
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
-
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
-
RELEASE
public static final GHEvent RELEASE
-
REPOSITORY
public static final GHEvent REPOSITORY
-
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
-
PING
public static final GHEvent PING
-
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
-
-