Package org.duracloud.syncui.service
Interface SyncConfigurationManager
- All Known Implementing Classes:
SyncConfigurationManagerImpl
public interface SyncConfigurationManager
Provides persist operations for configuration related operations.
- Author:
- Daniel Bernstein
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlonggetMode()intbooleanbooleanbooleanbooleanbooleanvoidpersist()voidpersistDirectoryConfigs(DirectoryConfigs configs) voidpersistDuracloudConfiguration(String username, String password, String host, String port, String spaceId) voidvoidsetConfigXmlPath(String configXml) voidsetJumpStart(boolean jumpStart) voidsetMaxFileSizeInBytes(long maxFileSize) voidvoidvoidsetRenameUpdates(boolean b) voidsetSyncDeletes(boolean flag) voidsetSyncUpdates(boolean b) voidsetThreadCount(int threadCount)
-
Field Details
-
GIGABYTES
static final long GIGABYTES- See Also:
-
-
Method Details
-
persistDuracloudConfiguration
void persistDuracloudConfiguration(String username, String password, String host, String port, String spaceId) - Parameters:
username-password-host-port-spaceId-
-
retrieveDuracloudConfiguration
DuracloudConfiguration retrieveDuracloudConfiguration()- Returns:
-
retrieveDirectoryConfigs
DirectoryConfigs retrieveDirectoryConfigs()- Returns:
-
isConfigurationComplete
boolean isConfigurationComplete()- Returns:
-
persistDirectoryConfigs
-
setConfigXmlPath
-
persist
void persist() -
purgeWorkDirectory
void purgeWorkDirectory() -
setSyncDeletes
void setSyncDeletes(boolean flag) -
isSyncDeletes
boolean isSyncDeletes() -
isSyncUpdates
boolean isSyncUpdates() -
getUpdateSuffix
String getUpdateSuffix() -
isRenameUpdates
boolean isRenameUpdates() -
setSyncUpdates
void setSyncUpdates(boolean b) -
setRenameUpdates
void setRenameUpdates(boolean b) -
getWorkDirectory
File getWorkDirectory() -
getPrefix
String getPrefix() -
setPrefix
-
getThreadCount
int getThreadCount() -
setThreadCount
void setThreadCount(int threadCount) -
setJumpStart
void setJumpStart(boolean jumpStart) -
isJumpStart
boolean isJumpStart() -
setMode
-
getMode
RunMode getMode() -
getMaxFileSizeInBytes
long getMaxFileSizeInBytes() -
setMaxFileSizeInBytes
void setMaxFileSizeInBytes(long maxFileSize)
-