org.jets3t.service.utils
Class FileComparerResults
java.lang.Object
org.jets3t.service.utils.FileComparerResults
public class FileComparerResults
- extends Object
A simple container class to store the results generated by
FileComparer.buildDiscrepancyLists(Map, Map)
.
The following key lists are available:
- onlyOnServerKeys: objects with these keys exist only in S3, not on the local computer
- updatedOnServerKeys: objects with these keys exist in S3 and on the local computer, but the
contents of the objects are different and the S3 version is newer than the local one.
- onlyOnClientKeys: objects with these keys exist only on the local computer, not in S3
- updatedOnClientKeys: objects with these keys exist in S3 and on the local computer, but the
contents of the objects are different and the local version is newer than the S3 one.
- alreadySynchronisedKeys: identical objects with these keys exist in S3 and on the local computer
- Author:
- James Murty
onlyOnServerKeys
public List<String> onlyOnServerKeys
updatedOnServerKeys
public List<String> updatedOnServerKeys
updatedOnClientKeys
public List<String> updatedOnClientKeys
onlyOnClientKeys
public List<String> onlyOnClientKeys
alreadySynchronisedKeys
public List<String> alreadySynchronisedKeys
alreadySynchronisedLocalPaths
public List<String> alreadySynchronisedLocalPaths
FileComparerResults
public FileComparerResults(List<String> onlyOnServerKeys,
List<String> updatedOnServerKeys,
List<String> updatedOnClientKeys,
List<String> onlyOnClientKeys,
List<String> alreadySynchronisedKeys,
List<String> alreadySynchronisedLocalPaths)
FileComparerResults
public FileComparerResults()
merge
public void merge(FileComparerResults resultsToAdd)
getCountOfItemsCompared
public long getCountOfItemsCompared()
toString
public String toString()
- Overrides:
toString
in class Object