Enum HookEventType
- All Implemented Interfaces:
Serializable
,Comparable<HookEventType>
Bitbucket hooks types managed by this plugin.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSent when hitting the "Test connection" button in Bitbucket Server. -
Method Summary
Modifier and TypeMethodDescriptionstatic HookEventType
fromString
(String key) getKey()
static HookEventType
Returns the enum constant of this type with the specified name.static HookEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PUSH
-
PULL_REQUEST_CREATED
-
PULL_REQUEST_UPDATED
-
PULL_REQUEST_MERGED
-
PULL_REQUEST_DECLINED
-
PULL_REQUEST_APPROVED
-
SERVER_REFS_CHANGED
- Since:
- Bitbucket Server 5.4
- See Also:
-
SERVER_MIRROR_REPO_SYNCHRONIZED
- Since:
- Bitbucket Server 6.5
- See Also:
-
SERVER_PULL_REQUEST_OPENED
- Since:
- Bitbucket Server 5.4
- See Also:
-
SERVER_PULL_REQUEST_MERGED
- Since:
- Bitbucket Server 5.4
- See Also:
-
SERVER_PULL_REQUEST_DECLINED
- Since:
- Bitbucket Server 5.4
-
SERVER_PULL_REQUEST_DELETED
- Since:
- Bitbucket Server 5.4
-
SERVER_PULL_REQUEST_APPROVED
- Since:
- Bitbucket Server 5.4
-
SERVER_PULL_REQUEST_MODIFIED
- Since:
- Bitbucket Server 5.10
- See Also:
-
SERVER_PULL_REQUEST_REVIEWER_UPDATED
- Since:
- Bitbucket Server 5.10
- See Also:
-
SERVER_PULL_REQUEST_FROM_REF_UPDATED
- Since:
- Bitbucket Server 7.0
- See Also:
-
SERVER_PING
Sent when hitting the "Test connection" button in Bitbucket Server. Apparently undocumented.
-
-
Method Details
-
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
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
-
fromString
-
getProcessor
-
getKey
-