Verified Owner
Top Constructors Methods
org.jabref.logic.git.merge.execution

public Class GitMergeApplier

extends Object
Class Inheritance
Imports
java.util.List, org.jabref.logic.git.model.MergePlan, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
applyAutoPlan(BibDatabaseContext bibDatabaseContext, MergePlan plan)

Apply (remote - base) patches safely in the current BibDatabaseContext, plus safe new/deleted entries.

public static void
applyResolved(BibDatabaseContext bibDatabaseContext, List<BibEntry> resolved)

Apply user-resolved entries into the current BibDatabaseContext: replace or insert by citation key.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GitMergeApplierback to summary
public GitMergeApplier()

Method Detail

applyAutoPlanback to summary
public static void applyAutoPlan(BibDatabaseContext bibDatabaseContext, MergePlan plan)

Apply (remote - base) patches safely in the current BibDatabaseContext, plus safe new/deleted entries.

applyResolvedback to summary
public static void applyResolved(BibDatabaseContext bibDatabaseContext, List<BibEntry> resolved)

Apply user-resolved entries into the current BibDatabaseContext: replace or insert by citation key. (Aligned with MergeEntriesAction’s “edit the in-memory library first” philosophy.)