Class 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
    • Field Detail

      • 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
    • Constructor Detail

      • FileComparerResults

        public FileComparerResults()
    • Method Detail

      • getCountOfItemsCompared

        public long getCountOfItemsCompared()