Constructor and Description |
---|
SyncWorker(ChangedFile file,
File watchDir,
SyncEndpoint endpoint)
Creates a SyncWorker to handle syncing a file
|
Modifier and Type | Method and Description |
---|---|
MonitoredFile |
getMonitoredFile() |
boolean |
isComplete() |
void |
run() |
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–2015 DuraSpace. All rights reserved.