Constructor and Description |
---|
SyncWorker(ChangedFile file,
File watchDir,
SyncEndpoint endpoint)
Creates a SyncWorker to handle syncing a file
|
public SyncWorker(ChangedFile file, File watchDir, SyncEndpoint endpoint)
file
- the file to syncwatchDir
- dir under watch where file exists or null if file does not
reside in a watched directoryendpoint
- the endpoint to which the file should be syncedpublic boolean isComplete()
public MonitoredFile getMonitoredFile()
Copyright © 2009–2014 DuraSpace. All rights reserved.