Package com.google.gerrit.server.submit
Enum Class CommitMergeStatus
- All Implemented Interfaces:
Serializable
,Comparable<CommitMergeStatus>
,java.lang.constant.Constable
Status codes set on
CodeReviewCommit
s by SubmitStrategy
implementations.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic String
createMissingDependencyMessage
(CurrentUser caller, com.google.inject.Provider<InternalChangeQuery> queryProvider, String commit, String otherCommit) static CommitMergeStatus
Returns the enum constant of this class with the specified name.static CommitMergeStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLEAN_MERGE
-
CLEAN_PICK
-
CLEAN_REBASE
-
ALREADY_MERGED
-
PATH_CONFLICT
-
REBASE_MERGE_CONFLICT
-
SKIPPED_IDENTICAL_TREE
-
MISSING_DEPENDENCY
-
MANUAL_RECURSIVE_MERGE
-
CANNOT_CHERRY_PICK_ROOT
-
CANNOT_REBASE_ROOT
-
NOT_FAST_FORWARD
-
EMPTY_COMMIT
-
FAST_FORWARD_INDEPENDENT_CHANGES
-
-
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
-
getDescription
-
createMissingDependencyMessage
public static String createMissingDependencyMessage(CurrentUser caller, com.google.inject.Provider<InternalChangeQuery> queryProvider, String commit, String otherCommit)
-