public class SynchEngineImpl extends Object implements SyncEngine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseInfopublic static SyncEngine get()
get in interface SyncEnginepublic void setRequestLogger(String path)
setRequestLogger in interface SyncEnginepublic boolean isRequestLoggerEnabled()
isRequestLoggerEnabled in interface SyncEnginepublic String getRequestLoggerPath()
getRequestLoggerPath in interface SyncEnginepublic SyncFolderDescriptor check(String folderId, boolean recursively) throws WorkspaceInteractionException, InternalException
SyncEnginecheck in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic void registerCallBack(String folderId, SyncOperationCallBack callback) throws ProcessNotFoundException
registerCallBack in interface SyncEngineProcessNotFoundExceptionpublic ProcessDescriptor doSync(String folderId) throws WorkspaceInteractionException, InternalException
SyncEnginedoSync in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic void stopSynch(String folderId) throws ProcessNotFoundException, WorkspaceInteractionException, InternalException
SyncEnginestopSynch in interface SyncEngineProcessNotFoundExceptionWorkspaceInteractionExceptionInternalExceptionpublic void setSynchronizedFolder(SynchFolderConfiguration config, String folderId) throws WorkspaceInteractionException, InternalException
SyncEnginesetSynchronizedFolder in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic void unsetSynchronizedFolder(String folderId, boolean deleteRemoteContent) throws WorkspaceInteractionException, InternalException
SyncEngineunsetSynchronizedFolder in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic SynchronizedElementInfo getInfo(String elementId)
SyncEnginegetInfo in interface SyncEnginepublic void updateCatalogFile(String folderId, File toUpdate) throws InternalException, WorkspaceInteractionException
SyncEngineupdateCatalogFile in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic void shutDown()
shutDown in interface SyncEnginepublic void forceUnlock(String folderId) throws InternalException, WorkspaceInteractionException
SyncEngineforceUnlock in interface SyncEngineInternalExceptionWorkspaceInteractionExceptionpublic ProcessDescriptor getProcessDescriptorByFolderId(String folderId) throws ProcessNotFoundException
getProcessDescriptorByFolderId in interface SyncEngineProcessNotFoundExceptionpublic ProcessStatus getProcessStatusByFolderId(String folderId) throws ProcessNotFoundException
getProcessStatusByFolderId in interface SyncEngineProcessNotFoundExceptionpublic Set<CatalogBean> getAvailableCatalogs() throws InternalException
getAvailableCatalogs in interface SyncEngineInternalExceptionpublic SyncEngineStatusDescriptor getStatus()
getStatus in interface SyncEnginepublic SynchFolderConfiguration getConfig(String folderId) throws WorkspaceInteractionException, WorkspaceNotSynchedException
getConfig in interface SyncEngineWorkspaceInteractionExceptionWorkspaceNotSynchedExceptionCopyright © 2021. All Rights Reserved.