public interface

RepositoryHook

com.atlassian.stash.hook.repository.RepositoryHook

Class Overview

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

Summary

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

Public Methods

@Nonnull public RepositoryHookDetails getDetails ()

Returns
  • the associated details of this repository hook

public boolean isConfigured ()

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

public boolean isEnabled ()

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