public interface PreRepositoryHookCommitCallback extends RepositoryHookCommitCallback
pre-hooks
can
register
to receive commit-level details for the
requested change.
This callback receives commit details as described by RepositoryHookCommitCallback
, but also provides a
getResult()
method that allows the hook to veto the requested change.
The getResult()
method will be called after RepositoryHookCommitCallback.onEnd()
has been called.
PreRepositoryHook
,
PreRepositoryHookContext
Modifier and Type | Method and Description |
---|---|
com.atlassian.bitbucket.hook.repository.RepositoryHookResult |
getResult()
Returns the outcome of the callback's processing of commits.
|
onCommitAdded, onCommitRemoved, onEnd, onStart
@Nonnull com.atlassian.bitbucket.hook.repository.RepositoryHookResult getResult()
RepositoryHookCommitCallback.onEnd()
has been called.Copyright © 2024 Atlassian. All rights reserved.