Modifier | Constructor and Description |
---|---|
protected |
DeleteChecker(SyncEndpoint syncEndpoint,
String spaceId,
List<File> syncDirs,
String prefix)
Creates a delete checker
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkComplete() |
void |
run()
Checks each item in the list of files stored at the endpoint (relative
file paths) against each sync directory to see if there is a matching
local file.
|
static DeleteChecker |
start(SyncEndpoint syncEndpoint,
String spaceId,
List<File> syncDirs,
String prefix) |
void |
stop() |
protected DeleteChecker(SyncEndpoint syncEndpoint, String spaceId, List<File> syncDirs, String prefix)
syncEndpoint
- the endpoint to which files are syncedsyncDirs
- the list of local source directories being syncedpublic void run()
public boolean checkComplete()
public void stop()
public static DeleteChecker start(SyncEndpoint syncEndpoint, String spaceId, List<File> syncDirs, String prefix)
Copyright © 2009–2014 DuraSpace. All rights reserved.