Enum Class RepositoryHookCommitFilter
java.lang.Object
java.lang.Enum<RepositoryHookCommitFilter>
com.atlassian.bitbucket.hook.repository.RepositoryHookCommitFilter
- All Implemented Interfaces:
Serializable,Comparable<RepositoryHookCommitFilter>,Constable
Describes the type of commit details a repository-hook
callback is interested
in.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny commit added to any ref.Any new commit added to any ref.Any commit removed from any ref.Any commit that is removed from the branch or tag and no longer referenced in the repository. -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryHookCommitFilterReturns the enum constant of this class with the specified name.static RepositoryHookCommitFilter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. ImpliesADDED_TO_REPOSITORY -
ADDED_TO_REPOSITORY
Any new commit added to any ref. Does not include commits that were already present in the repository.- See Also:
-
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. ImpliesREMOVED_FROM_REPOSITORY -
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-