Class SyncTaskCompleteEvent

    • Constructor Detail

      • SyncTaskCompleteEvent

        public SyncTaskCompleteEvent​(SyncTask source,
                                     String message,
                                     int added,
                                     int updated,
                                     int deleted)
        Creates a new sync task complete event.
        Parameters:
        source - The event source.
        message - The event message.
        added - The total number of entries added to the target directory.
        updated - The total number of updated target directory entries.
        deleted - The total number of deleted target directory entries.
    • Method Detail

      • getAddedEntryCount

        public int getAddedEntryCount()
        Returns the total number of entries added to the target directory.
        Returns:
        The added entry count.
      • getUpdatedEntryCount

        public int getUpdatedEntryCount()
        Returns the total number of updated target directory entries.
        Returns:
        The updated entry count.
      • getDeletedEntryCount

        public int getDeletedEntryCount()
        Returns the total number of deleted target directory entries.
        Returns:
        The deleted entry count.