Java org.eclipse.jgit.merge MergeStrategy fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.merge MergeStrategy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.merge MergeStrategy.

The text is from its open source code.

Field

MergeStrategyOURS
Simple strategy that sets the output tree to the first input tree.
MergeStrategyTHEIRS
Simple strategy that sets the output tree to the second input tree.
ThreeWayMergeStrategySIMPLE_TWO_WAY_IN_CORE
Simple strategy to merge paths, without simultaneous edits.
ThreeWayMergeStrategyRESOLVE
Simple strategy to merge paths.
ThreeWayMergeStrategyRECURSIVE
Recursive strategy to merge paths.

Method

MergeStrategyget(String name)
Locate a strategy by name.
StringgetName()
Get default name of this strategy implementation.
MergernewMerger(Repository db, boolean inCore)
Create a new merge instance.
MergernewMerger(ObjectInserter inserter, Config config)
Create a new merge instance.
MergernewMerger(Repository db)
Create a new merge instance.