Top Description Fields Constructors Methods
org.eclipse.jgit.merge

public final Enum ContentMergeStrategy

extends Enum<ContentMergeStrategy>
Class Inheritance

How to handle content conflicts.
Since
5.12

Field Summary

Modifier and TypeField and Description
public static final ContentMergeStrategy
CONFLICT

Produce a conflict.

public static final ContentMergeStrategy
OURS

Resolve the conflict hunk using the ours version.

public static final ContentMergeStrategy
THEIRS

Resolve the conflict hunk using the theirs version.

public static final ContentMergeStrategy
UNION

Resolve the conflict hunk using a union of both ours and theirs versions.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ContentMergeStrategy
public static ContentMergeStrategy[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONFLICTback to summary
public static final ContentMergeStrategy CONFLICT

Produce a conflict.

OURSback to summary
public static final ContentMergeStrategy OURS

Resolve the conflict hunk using the ours version.

THEIRSback to summary
public static final ContentMergeStrategy THEIRS

Resolve the conflict hunk using the theirs version.

UNIONback to summary
public static final ContentMergeStrategy UNION

Resolve the conflict hunk using a union of both ours and theirs versions.

Since
6.10.1

Constructor Detail

ContentMergeStrategyback to summary
private ContentMergeStrategy()

Method Detail

valueOfback to summary
public static ContentMergeStrategy valueOf(String name)
valuesback to summary
public static ContentMergeStrategy[] values()