public abstract class

RepositoryHookContext

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.hook.repository.RepositoryHookContext
Known Direct Subclasses

Summary

Public Constructors
RepositoryHookContext(Repository repository, Settings settings)
Public Methods
@Nonnull @Deprecated Repository getRepository()
This method is deprecated. in 5.0 for removal in 6.0. This information is now available through RepositoryHookRequest
@Nonnull Settings getSettings()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RepositoryHookContext (Repository repository, Settings settings)

Public Methods

@Nonnull @Deprecated public Repository getRepository ()

This method is deprecated.
in 5.0 for removal in 6.0. This information is now available through RepositoryHookRequest

Returns
  • the repository the hook is being called for.

@Nonnull public Settings getSettings ()

Returns
  • the hook Settings. If the hook has not been configured, empty settings are returned.