All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.exasol.bucketfs.uploadnecessity.UploadAlwaysStrategy Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy