com.exasol.bucketfs.uploadnecessity.UploadAlwaysStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bucketfs-java Show documentation
Show all versions of bucketfs-java Show documentation
Java library for automating tasks on Exasol's BucketFS.
The newest version!
package com.exasol.bucketfs.uploadnecessity;
import java.nio.file.Path;
import com.exasol.bucketfs.ReadOnlyBucket;
/**
* This {@link UploadNecessityCheckStrategy} always decides to upload the file.
*/
public class UploadAlwaysStrategy implements UploadNecessityCheckStrategy {
@Override
public boolean isUploadNecessary(final Path file, final String fullFileNameInBucketFs,
final ReadOnlyBucket bucket) {
return true;
}
}