Package org.apache.subversion.javahl
Enum ConflictResult.Choice
- All Implemented Interfaces:
Serializable,Comparable<ConflictResult.Choice>,java.lang.constant.Constable
- Enclosing class:
- ConflictResult
public static enum ConflictResult.Choice extends Enum<ConflictResult.Choice>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description chooseBaseResolve the conflict by choosing the base file.chooseMergedResolve the conflict by choosing the merged object (potentially manually edited).chooseMineConflictResolve the conflict by choosing own (local) version of the object (for conflicted hunks only).chooseMineFullResolve the conflict by choosing own (local) version of the object.chooseTheirsConflictResolve the conflict by choosing the incoming (repository) version of the object (for conflicted hunks only).chooseTheirsFullResolve the conflict by choosing the incoming (repository) version of the object.postponeNothing done to resolve the conflict; conflict remains. -
Method Summary
Modifier and Type Method Description static ConflictResult.ChoicevalueOf(String name)Returns the enum constant of this type with the specified name.static ConflictResult.Choice[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
postpone
Nothing done to resolve the conflict; conflict remains. -
chooseBase
Resolve the conflict by choosing the base file. -
chooseTheirsFull
Resolve the conflict by choosing the incoming (repository) version of the object. -
chooseMineFull
Resolve the conflict by choosing own (local) version of the object. -
chooseTheirsConflict
Resolve the conflict by choosing the incoming (repository) version of the object (for conflicted hunks only). -
chooseMineConflict
Resolve the conflict by choosing own (local) version of the object (for conflicted hunks only). -
chooseMerged
Resolve the conflict by choosing the merged object (potentially manually edited).
-
-
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
-