Class SynchronizationConfiguration


  • public class SynchronizationConfiguration
    extends Object
    Configuration of the synchronization session that stores information how to open session.
    • Constructor Detail

      • SynchronizationConfiguration

        public SynchronizationConfiguration()
        Creates the default configuration instance.
      • SynchronizationConfiguration

        public SynchronizationConfiguration​(SynchronizationMode mode)
        Creates an instance of configuration with the provided synchronization mode.
        Parameters:
        mode - the synchronization mode, cannot be null
    • Method Detail

      • builder

        public static SynchronizationConfiguration.Builder builder()
        Returns the new synchronization configuration builder.
        Returns:
        the new synchronization configuration builder, never null
      • getIgnorePaths

        public List<String> getIgnorePaths()
        Returns a list of configured paths to ignore.
        Returns:
        a list of configured paths to ignore, never null
      • getMode

        public SynchronizationMode getMode()
        Returns the synchronization mode which determine how session will synchronize directories.
        Returns:
        the synchronization mode which determine how session will synchronize directories, never null