java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.bitbucket.hook.repository.RepositoryHookType |
Represents the supported types of RepositoryHook
.
This determines where the hook is displayed on the hook settings screen.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RepositoryHookType | POST_RECEIVE | Represents a post-receive hook, which are used to trigger actions after a successful push/merge. | |||||||||
RepositoryHookType | PRE_PULL_REQUEST_MERGE | Represents a pre-receive hook, which are used to enforce a specific precondition for a pull-request merge operation. | |||||||||
RepositoryHookType | PRE_RECEIVE | Represents a pre-receive hook, which are used to restrict pushing/merging in some instances. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Represents a post-receive hook, which are used to trigger actions after a successful push/merge.
Represents a pre-receive hook, which are used to enforce a specific precondition for a pull-request merge operation.
Represents a pre-receive hook, which are used to restrict pushing/merging in some instances.