Package org.duracloud.syncui.service
Interface SyncProcessManager
-
- All Superinterfaces:
SyncProcess
- All Known Implementing Classes:
SyncProcessManagerImpl
public interface SyncProcessManager extends SyncProcess
The SyncProcessManager interface delineates the set of functions available for controlling and retrieving state information about the current runtime state of the sync process- Author:
- Daniel Bernstein
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSyncStateChangeListener(SyncStateChangeListener syncStateChangeListener)voidclearError()voidclearFailures()SyncProcessErrorgetError()List<SyncSummary>getFailures()List<MonitoredFile>getMonitoredFiles()Returns a list of actively transfering (uploading) filesList<File>getQueuedFiles()List<SyncSummary>getRecentlyCompleted()voidremoveSyncStateChangeListener(SyncStateChangeListener syncStateChangeListener)-
Methods inherited from interface org.duracloud.syncui.service.SyncProcess
getProcessState, getProcessStats, pause, restart, resume, start, stop
-
-
-
-
Method Detail
-
addSyncStateChangeListener
void addSyncStateChangeListener(SyncStateChangeListener syncStateChangeListener)
- Parameters:
syncStateChangeListener-
-
removeSyncStateChangeListener
void removeSyncStateChangeListener(SyncStateChangeListener syncStateChangeListener)
- Parameters:
syncStateChangeListener-
-
getMonitoredFiles
List<MonitoredFile> getMonitoredFiles()
Returns a list of actively transfering (uploading) files- Returns:
-
getError
SyncProcessError getError()
- Returns:
-
clearError
void clearError()
-
clearFailures
void clearFailures()
-
getFailures
List<SyncSummary> getFailures()
-
getRecentlyCompleted
List<SyncSummary> getRecentlyCompleted()
-
-