public interface

RepositoryHook

com.atlassian.bitbucket.hook.repository.RepositoryHook

Class Overview

Describes a repository hook and its state for a specific scope.

Summary

Public Methods
@Nonnull RepositoryHookDetails getDetails()
@Nonnull Scope getScope()
boolean isConfigured()
boolean isEnabled()

Public Methods

@Nonnull public RepositoryHookDetails getDetails ()

Returns
  • the associated details of this repository hook

@Nonnull public Scope getScope ()

Returns
  • the scope at which the repository hook was configured

public boolean isConfigured ()

Returns
  • true if settings have been previously stored for this hook and scope false otherwise.

public boolean isEnabled ()

Returns
  • true if this hook has been enabled, false otherwise