Class SynchronizationConfiguration
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.cloud.core.sync.SynchronizationConfiguration
-
public class SynchronizationConfiguration extends Object
Configuration of the synchronization session that stores information how to open session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SynchronizationConfiguration.Builder
Builder class to buildSynchronizationConfiguration
.
-
Constructor Summary
Constructors Constructor Description SynchronizationConfiguration()
Creates the default configuration instance.SynchronizationConfiguration(SynchronizationMode mode)
Creates an instance of configuration with the provided synchronization mode.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SynchronizationConfiguration.Builder
builder()
Returns the new synchronization configuration builder.List<String>
getIgnorePaths()
Returns a list of configured paths to ignore.SynchronizationMode
getMode()
Returns the synchronization mode which determine how session will synchronize directories.
-
-
-
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 benull
-
-
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
-
-