public final enum

RepositoryHookType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.hook.repository.RepositoryHookType

Class Overview

Represents the supported types of RepositoryHook.

This determines where the hook is displayed on the hook settings screen.

Summary

Enum Values
RepositoryHookType  POST_RECEIVE  Represents a post-receive hook, which are used to trigger actions after a successful push/merge. 
RepositoryHookType  PRE_PULL_REQUEST_MERGE  Represents a pre-receive hook, which are used to enforce a specific precondition for a pull-request merge operation. 
RepositoryHookType  PRE_RECEIVE  Represents a pre-receive hook, which are used to restrict pushing/merging in some instances. 
Public Methods
static RepositoryHookType valueOf(String name)
final static RepositoryHookType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RepositoryHookType POST_RECEIVE

Represents a post-receive hook, which are used to trigger actions after a successful push/merge.

public static final RepositoryHookType PRE_PULL_REQUEST_MERGE

Represents a pre-receive hook, which are used to enforce a specific precondition for a pull-request merge operation.

public static final RepositoryHookType PRE_RECEIVE

Represents a pre-receive hook, which are used to restrict pushing/merging in some instances.

Public Methods

public static RepositoryHookType valueOf (String name)

public static final RepositoryHookType[] values ()