Top Fields Constructors Methods
org.jabref.logic.cleanup

public Class CleanupWorker

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, .Objects, org.jabref.logic.preferences.TimestampPreferences, org.jabref.model.FieldChange, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.preferences.CleanupPreferences, .FilePreferences

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final FilePreferences
private final TimestampPreferences

Constructor Summary

AccessConstructor and Description
public
CleanupWorker(BibDatabaseContext databaseContext, FilePreferences filePreferences, TimestampPreferences timestampPreferences)

Method Summary

Modifier and TypeMethod and Description
public List<FieldChange>
private List<CleanupJob>
private CleanupJob
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databaseContextback to summary
private final BibDatabaseContext databaseContext
filePreferencesback to summary
private final FilePreferences filePreferences
timestampPreferencesback to summary
private final TimestampPreferences timestampPreferences

Constructor Detail

CleanupWorkerback to summary
public CleanupWorker(BibDatabaseContext databaseContext, FilePreferences filePreferences, TimestampPreferences timestampPreferences)

Method Detail

cleanupback to summary
public List<FieldChange> cleanup(CleanupPreferences preset, BibEntry entry)
determineCleanupActionsback to summary
private List<CleanupJob> determineCleanupActions(CleanupPreferences preset)
toJobback to summary
private CleanupJob toJob(CleanupPreferences.CleanupStep action)