Package org.eclipse.jgit.merge
Enum ResolveMerger.MergeFailureReason
java.lang.Object
java.lang.Enum<ResolveMerger.MergeFailureReason>
org.eclipse.jgit.merge.ResolveMerger.MergeFailureReason
- All Implemented Interfaces:
Serializable
,Comparable<ResolveMerger.MergeFailureReason>
- Enclosing class:
ResolveMerger
If the merge fails (means: not stopped because of unresolved conflicts)
this enum is used to explain why it failed
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe merge failed because of a file could not be deletedthe merge failed because of a dirty indexthe merge failed because of a dirty workingtree -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static ResolveMerger.MergeFailureReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DIRTY_INDEX
the merge failed because of a dirty index -
DIRTY_WORKTREE
the merge failed because of a dirty workingtree -
COULD_NOT_DELETE
the merge failed because of a file could not be deleted
-
-
Constructor Details
-
MergeFailureReason
private MergeFailureReason()
-
-
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
-