Enum Class AutoMergeProcessingResult.AutoMergeProcessingStatus
java.lang.Object
java.lang.Enum<AutoMergeProcessingResult.AutoMergeProcessingStatus>
com.atlassian.bitbucket.pull.automerge.AutoMergeProcessingResult.AutoMergeProcessingStatus
- All Implemented Interfaces:
Serializable
,Comparable<AutoMergeProcessingResult.AutoMergeProcessingStatus>
,Constable
- Enclosing class:
- AutoMergeProcessingResult
public static enum AutoMergeProcessingResult.AutoMergeProcessingStatus
extends Enum<AutoMergeProcessingResult.AutoMergeProcessingStatus>
Represents the status of auto-merge request
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe auto-merge request is cancelled by the system.The auto-merge request could not be processed as the auto-merge specific lock for the repository could not be acquired in time.The pull request is successfully merged by the system.The auto-merge request is ready to merge but its source or target branch does not reflect the latest SCM state.The status of the auto-merge request is not known.The auto-merge request is not yet ready to merge. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANCELLED
The auto-merge request is cancelled by the system. -
VETOED
The auto-merge request is not yet ready to merge. -
STALE
The auto-merge request is ready to merge but its source or target branch does not reflect the latest SCM state. -
MERGED
The pull request is successfully merged by the system. -
LOCK_FAILURE
The auto-merge request could not be processed as the auto-merge specific lock for the repository could not be acquired in time. -
UNKNOWN
The status of the auto-merge request is not known.
-
-
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
-