Package org.eclipse.jgit.errors
Enum NoMergeBaseException.MergeBaseFailureReason
java.lang.Object
java.lang.Enum<NoMergeBaseException.MergeBaseFailureReason>
org.eclipse.jgit.errors.NoMergeBaseException.MergeBaseFailureReason
- All Implemented Interfaces:
Serializable
,Comparable<NoMergeBaseException.MergeBaseFailureReason>
- Enclosing class:
NoMergeBaseException
public static enum NoMergeBaseException.MergeBaseFailureReason
extends Enum<NoMergeBaseException.MergeBaseFailureReason>
An enum listing the different reason why no merge base could be
determined.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIn order to find a single merge base it may required to merge together multiple common predecessors.Multiple merge bases have been found (e.g.The number of merge bases exceedsRecursiveMerger.MAX_BASES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MULTIPLE_MERGE_BASES_NOT_SUPPORTED
Multiple merge bases have been found (e.g. the commits to be merged have multiple common predecessors) but the merge strategy doesn't support this (e.g. ResolveMerge) -
TOO_MANY_MERGE_BASES
The number of merge bases exceedsRecursiveMerger.MAX_BASES
-
CONFLICTS_DURING_MERGE_BASE_CALCULATION
public static final NoMergeBaseException.MergeBaseFailureReason CONFLICTS_DURING_MERGE_BASE_CALCULATIONIn order to find a single merge base it may required to merge together multiple common predecessors. If during these merges conflicts occur the merge fails with this reason
-
-
Constructor Details
-
MergeBaseFailureReason
private MergeBaseFailureReason()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-