Top Fields Constructors Methods
org.jabref.migrations

public Class MergeReviewIntoCommentMigration

extends Object
Class Inheritance
Imports
java.util.List, .Objects, java.util.stream.Collectors, org.jabref.logic.importer.ParserResult, org.jabref.logic.l10n.Localization, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.StandardField, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static List<BibEntry>
private static boolean
private static boolean
private String
private void
migrate(BibEntry entry, ParserResult parserResult)

public static boolean
public void
public void
private void
updateFields(BibEntry entry, String review)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

MergeReviewIntoCommentMigrationback to summary
public MergeReviewIntoCommentMigration()

Method Detail

collectConflictsback to summary
public static List<BibEntry> collectConflicts(ParserResult parserResult)
hasCommentFieldback to summary
private static boolean hasCommentField(BibEntry entry)
hasReviewFieldback to summary
private static boolean hasReviewField(BibEntry entry)
mergeCommentFieldIfPresentback to summary
private String mergeCommentFieldIfPresent(BibEntry entry, String review)
migrateback to summary
private void migrate(BibEntry entry, ParserResult parserResult)
needsMigrationback to summary
public static boolean needsMigration(ParserResult parserResult)
performConflictingMigrationback to summary
public void performConflictingMigration(ParserResult parserResult)
performMigrationback to summary
public void performMigration(ParserResult parserResult)
updateFieldsback to summary
private void updateFields(BibEntry entry, String review)