Class UploadAlwaysStrategy

    • Constructor Detail

      • UploadAlwaysStrategy

        public UploadAlwaysStrategy()
    • Method Detail

      • isUploadNecessary

        public boolean isUploadNecessary​(Path file,
                                         String fullFileNameInBucketFs,
                                         ReadOnlyBucket bucket)
        Description copied from interface: UploadNecessityCheckStrategy
        Decide if it is necessary to upload a file to BucketFS.
        Specified by:
        isUploadNecessary in interface UploadNecessityCheckStrategy
        Parameters:
        file - local file
        fullFileNameInBucketFs - path to the file in BucketFS
        bucket - bucket the file is uploaded to
        Returns:
        true if the file should get uploaded