public enum GitRepositoryHookTrigger extends Enum<GitRepositoryHookTrigger> implements com.atlassian.bitbucket.hook.repository.RepositoryHookTrigger
repository-hook RepositoryHookRequests.| Enum Constant and Description |
|---|
REBASE
Invoked when a
rebase is performed. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<GitRepositoryHookTrigger> |
fromId(String id) |
String |
getId() |
boolean |
isAbortOnFirstVeto() |
static GitRepositoryHookTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitRepositoryHookTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitRepositoryHookTrigger REBASE
rebase is performed.GitRebaseHookRequestpublic static GitRepositoryHookTrigger[] values()
for (GitRepositoryHookTrigger c : GitRepositoryHookTrigger.values()) System.out.println(c);
public static GitRepositoryHookTrigger valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull public static Optional<GitRepositoryHookTrigger> fromId(@Nullable String id)
@Nonnull public String getId()
getId in interface com.atlassian.bitbucket.hook.repository.RepositoryHookTriggerpublic boolean isAbortOnFirstVeto()
isAbortOnFirstVeto in interface com.atlassian.bitbucket.hook.repository.RepositoryHookTriggerCopyright © 2019 Atlassian. All rights reserved.