Package com.atlassian.bitbucket.hook.repository
package com.atlassian.bitbucket.hook.repository
-
ClassDescriptionPostRepositoryHook<T extends com.atlassian.bitbucket.hook.repository.RepositoryHookRequest>Hook that is called after changes to 1 or more refs have been made.
RepositoryHookContext
specialization that is provided toPostRepositoryHook
hooksPreRepositoryHook<T extends com.atlassian.bitbucket.hook.repository.RepositoryHookRequest>Hook that is called for all veto-able changes to 1 or more Refs.RepositoryHookContext
specialization that is provided toPreRepositoryHook
hooksA callback to receive more information about commits added or removed in aRepositoryHookRequest
.Describes the type of commit details a repository-hookcallback
is interested in.Used to enforce a specific precondition for a pull request merge operation.In addition to the normalMergeRequest
parameters, will have additional settings which can be configured per-repository.Annotation to be used withPostRepositoryHook
instances to signal that the hook prefers to be called synchronously, which allows the hook to write to the SCM client error and output streams directly forpushes
to the repository.