public final enum

StandardRepositoryHookTrigger

extends Enum<E extends Enum<E>>
implements RepositoryHookTrigger
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.hook.repository.StandardRepositoryHookTrigger

Class Overview

Built-in trigger types for repository-hook RepositoryHookRequests.

Summary

Enum Values
StandardRepositoryHookTrigger  BRANCH_CREATE   
StandardRepositoryHookTrigger  BRANCH_DELETE   
StandardRepositoryHookTrigger  FILE_EDIT   
StandardRepositoryHookTrigger  MERGE  Invoked when merge(MergeCommandParameters) is called. 
StandardRepositoryHookTrigger  PULL_REQUEST_MERGE   
StandardRepositoryHookTrigger  REPO_PUSH   
StandardRepositoryHookTrigger  TAG_CREATE   
StandardRepositoryHookTrigger  TAG_DELETE   
StandardRepositoryHookTrigger  UNKNOWN  An unclassified / not recognized trigger  
Public Methods
@Nonnull static Optional<StandardRepositoryHookTrigger> fromId(String id)
@Nonnull String getId()
boolean isAbortOnFirstVeto()
static StandardRepositoryHookTrigger valueOf(String name)
final static StandardRepositoryHookTrigger[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface com.atlassian.bitbucket.hook.repository.RepositoryHookTrigger
From interface java.lang.Comparable

Enum Values

public static final StandardRepositoryHookTrigger BRANCH_CREATE

public static final StandardRepositoryHookTrigger BRANCH_DELETE

public static final StandardRepositoryHookTrigger FILE_EDIT

public static final StandardRepositoryHookTrigger MERGE

Invoked when merge(MergeCommandParameters) is called. Note that this is a low-level SCM operation and should not generally be intercepted.

See Also

public static final StandardRepositoryHookTrigger PULL_REQUEST_MERGE

public static final StandardRepositoryHookTrigger REPO_PUSH

public static final StandardRepositoryHookTrigger TAG_CREATE

public static final StandardRepositoryHookTrigger TAG_DELETE

public static final StandardRepositoryHookTrigger UNKNOWN

An unclassified / not recognized trigger

Public Methods

@Nonnull public static Optional<StandardRepositoryHookTrigger> fromId (String id)

@Nonnull public String getId ()

public boolean isAbortOnFirstVeto ()

public static StandardRepositoryHookTrigger valueOf (String name)

public static final StandardRepositoryHookTrigger[] values ()