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>> |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.bitbucket.hook.repository.RepositoryHookRequest
|
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
@Nonnull
public
Collection<RefChange>
getRefChanges
()
public
boolean
isDryRun
()