public final enum

RepositoryHookCommitFilter

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

Class Overview

Describes the type of commit details a repository-hook callback is interested in.

See Also
  • PreRepositoryHookContext#registerCommitCallback(PreRepositoryHookCommitCallback, RepositoryHookCommitFilter, RepositoryHookCommitFilter...)
  • PostRepositoryHookContext#registerCommitCallback(RepositoryHookCommitCallback, RepositoryHookCommitFilter, RepositoryHookCommitFilter...)

Summary

Enum Values
RepositoryHookCommitFilter  ADDED_TO_ANY_REF  Any commit added to any ref. 
RepositoryHookCommitFilter  ADDED_TO_REPOSITORY  Any new commit added to any ref. 
RepositoryHookCommitFilter  REMOVED_FROM_ANY_REF  Any commit removed from any ref. 
RepositoryHookCommitFilter  REMOVED_FROM_REPOSITORY  Any commit that is removed from the branch or tag and no longer referenced in the repository. 
Public Methods
static RepositoryHookCommitFilter valueOf(String name)
final static RepositoryHookCommitFilter[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RepositoryHookCommitFilter ADDED_TO_ANY_REF

Any commit added to any ref. Includes commits that were already present in the repository, but not yet referenced by the branch or tag. Implies ADDED_TO_REPOSITORY

public static final RepositoryHookCommitFilter ADDED_TO_REPOSITORY

Any new commit added to any ref. Does not include commits that were already present in the repository.

public static final RepositoryHookCommitFilter REMOVED_FROM_ANY_REF

Any commit removed from any ref. Includes commits that were removed from the branch or tag, but are referenced by other branches or tags. Implies REMOVED_FROM_REPOSITORY

public static final RepositoryHookCommitFilter REMOVED_FROM_REPOSITORY

Any commit that is removed from the branch or tag and no longer referenced in the repository. Does not include commits that remain referenced from other branches or tags.

Public Methods

public static RepositoryHookCommitFilter valueOf (String name)

public static final RepositoryHookCommitFilter[] values ()