added sync folder and file manager
All checks were successful
Locusworks Team/aws-s3-sync/pipeline/head This commit looks good
All checks were successful
Locusworks Team/aws-s3-sync/pipeline/head This commit looks good
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
package net.locusworks.s3sync.client;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
public class FileDetail {
|
||||
|
||||
private Path file;
|
||||
private String file;
|
||||
private String hash;
|
||||
private boolean uploaded;
|
||||
|
||||
@@ -14,7 +12,7 @@ public class FileDetail {
|
||||
* @param hash
|
||||
* @param uploaded
|
||||
*/
|
||||
public FileDetail(Path file, String hash, boolean uploaded) {
|
||||
public FileDetail(String file, String hash, boolean uploaded) {
|
||||
this.file = file;
|
||||
this.hash = hash;
|
||||
this.uploaded = uploaded;
|
||||
@@ -22,13 +20,13 @@ public class FileDetail {
|
||||
/**
|
||||
* @return the file
|
||||
*/
|
||||
public synchronized final Path getFile() {
|
||||
public synchronized final String getFile() {
|
||||
return file;
|
||||
}
|
||||
/**
|
||||
* @param file the file to set
|
||||
*/
|
||||
public synchronized final void setFile(Path file) {
|
||||
public synchronized final void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user