public enum RepositoryHookCommitFilter extends Enum<RepositoryHookCommitFilter>
callback is interested
in.| Enum Constant and Description |
|---|
ADDED_TO_ANY_REF
Any commit added to any ref.
|
ADDED_TO_REPOSITORY
Any new commit added to any ref.
|
REMOVED_FROM_ANY_REF
Any commit removed from any ref.
|
REMOVED_FROM_REPOSITORY
Any commit that is removed from the branch or tag and no longer referenced in the repository.
|
| Modifier and Type | Method and Description |
|---|---|
static RepositoryHookCommitFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryHookCommitFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryHookCommitFilter ADDED_TO_ANY_REF
ADDED_TO_REPOSITORYpublic static final RepositoryHookCommitFilter ADDED_TO_REPOSITORY
CommitAddedDetails.isAddedToRepository()public static final RepositoryHookCommitFilter REMOVED_FROM_ANY_REF
REMOVED_FROM_REPOSITORYpublic static final RepositoryHookCommitFilter REMOVED_FROM_REPOSITORY
public static RepositoryHookCommitFilter[] values()
for (RepositoryHookCommitFilter c : RepositoryHookCommitFilter.values()) System.out.println(c);
public static RepositoryHookCommitFilter 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 nullCopyright © 2022 Atlassian. All rights reserved.