Class BgModel
java.lang.Object
de.spiritscorp.datasync.model.BgModel
-
Constructor Summary
ConstructorsConstructorDescriptionBgModel(Preference pref, Logger logger, Map<Path, FileAttributes> sourceMap, Map<Path, FileAttributes> destMap) -
Method Summary
Modifier and TypeMethodDescriptionbooleanrunBgJob()List all files, equals them and make the prefer sync in the background
-
Constructor Details
-
BgModel
public BgModel(Preference pref, Logger logger, Map<Path, FileAttributes> sourceMap, Map<Path, FileAttributes> destMap)
-
-
Method Details
-
runBgJob
public boolean runBgJob()List all files, equals them and make the prefer sync in the background- Returns:
- boolean
true if the process ran and both maps are empty
-