java.lang.Object |
↳ |
com.atlassian.bitbucket.hook.repository.AbstractRepositoryHookRequest |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Base class for the various RepositoryHookRequests
. Plugins that want to invoke
pre-hooks
or
post-hooks
with a custom request type can use
this class as a base class to provide the common request attributes.
Summary
Nested Classes |
class |
AbstractRepositoryHookRequest.AbstractBuilder<B extends AbstractBuilder<B>> |
|
Protected Constructors
Public Methods
@Nonnull
public
Map<String, Object>
getContext
()
Retrieves any additional context that was supplied to the request. This context is intended to
allow plugin developers to implement their own behavior around ref-changes. As a result, its contents
are unspecified; they depend on the installed plugins.
On dry runs
, the context will always be empty.
Returns
- additional context provided when the ref-change was requested, if any
public
boolean
isDryRun
()