org.jets3t.service.utils
Class FileComparerResults
java.lang.Object
org.jets3t.service.utils.FileComparerResults
public class FileComparerResults
- extends java.lang.Object
A simple container class to store the results generated by
FileComparer.buildDiscrepancyLists(Map, Map)
.
The following key sets 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
Constructor Summary |
FileComparerResults()
|
FileComparerResults(java.util.Set onlyOnServerKeys,
java.util.Set updatedOnServerKeys,
java.util.Set updatedOnClientKeys,
java.util.Set onlyOnClientKeys,
java.util.Set alreadySynchronisedKeys)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
onlyOnServerKeys
public java.util.Set onlyOnServerKeys
updatedOnServerKeys
public java.util.Set updatedOnServerKeys
updatedOnClientKeys
public java.util.Set updatedOnClientKeys
onlyOnClientKeys
public java.util.Set onlyOnClientKeys
alreadySynchronisedKeys
public java.util.Set alreadySynchronisedKeys
FileComparerResults
public FileComparerResults(java.util.Set onlyOnServerKeys,
java.util.Set updatedOnServerKeys,
java.util.Set updatedOnClientKeys,
java.util.Set onlyOnClientKeys,
java.util.Set alreadySynchronisedKeys)
FileComparerResults
public FileComparerResults()
merge
public void merge(FileComparerResults resultsToAdd)