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.
RepositoryHookContextspecialization that is provided toPostRepositoryHookhooksPreRepositoryHook<T extends com.atlassian.bitbucket.hook.repository.RepositoryHookRequest>Hook that is called for all veto-able changes to 1 or more Refs.RepositoryHookContextspecialization that is provided toPreRepositoryHookhooksA callback to receive more information about commits added or removed in aRepositoryHookRequest.Describes the type of commit details a repository-hookcallbackis interested in.Used to enforce a specific precondition for a pull request merge operation.In addition to the normalMergeRequestparameters, will have additional settings which can be configured per-repository.Annotation to be used withPostRepositoryHookinstances 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 forpushesto the repository.