com.atlassian.bitbucket.hook.repository.PreRepositoryHook<T extends com.atlassian.bitbucket.hook.repository.RepositoryHookRequest> |
Known Indirect Subclasses |
Hook that is called for all veto-able changes to 1 or more Refs. Examples are: pushes, pull request merges, branch creation/deletion through the REST API, file-edit, etc.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback method that is called after all registered and enabled hooks have been called
| |||||||||||
Callback method that is called just before a request to update one or more
refs is completed. |
Callback method that is called after all registered and enabled hooks have been called
context | provides hook settings and a way to obtain the commits added/removed |
---|---|
request | the change request |
result | the combined outcome of all hooks that have been called, containing all vetoes returned by any of the hooks |
Callback method that is called just before a request to update one or more refs
is completed.
context | provides hook settings and provides a way to obtain the commits added/removed |
---|---|
request | provides the refs that are about to be updated. |