/** * @return * true if the "filecomparer.skip-symlinks" configuration option is set. */ public boolean isSkipSymlinks() { return jets3tProperties.getBoolProperty("filecomparer.skip-symlinks", false); }
/** * @return * true if the "filecomparer.generate-md5-files" configuration option is set. */ public boolean isGenerateMd5Files() { return jets3tProperties.getBoolProperty("filecomparer.generate-md5-files", false); }
/** * @return * true if the "filecomparer.use-md5-files" configuration option is set. */ public boolean isUseMd5Files() { return jets3tProperties.getBoolProperty("filecomparer.use-md5-files", false); }
/** * @return * true if the "filecomparer.skip-upload-of-md5-files" configuration option is set. */ public boolean isSkipMd5FileUpload() { return jets3tProperties.getBoolProperty("filecomparer.skip-upload-of-md5-files", false); }
/** * @return * true if the "filecomparer.assume-local-latest-in-mismatch" configuration option is set. */ public boolean isAssumeLocalLatestInMismatch() { return jets3tProperties.getBoolProperty( "filecomparer.assume-local-latest-in-mismatch", false); }
/** * @return * true if the "filecomparer.use-md5-files" configuration option is set. */ public boolean isUseMd5Files() { return jets3tProperties.getBoolProperty("filecomparer.use-md5-files", false); }
/** * @return * true if the "filecomparer.assume-local-latest-in-mismatch" configuration option is set. */ public boolean isAssumeLocalLatestInMismatch() { return jets3tProperties.getBoolProperty( "filecomparer.assume-local-latest-in-mismatch", false); }
/** * @return * true if the "filecomparer.skip-symlinks" configuration option is set. */ public boolean isSkipSymlinks() { return jets3tProperties.getBoolProperty("filecomparer.skip-symlinks", false); }
/** * @return * If true, all communication with S3 will be via encrypted HTTPS connections, * otherwise communications will be sent unencrypted via HTTP. */ @Override protected boolean getHttpsOnly() { return getJetS3tProperties().getBoolProperty("s3service.https-only", true); }
/** * @return * If true, all communication with GS will be via encrypted HTTPS connections, * otherwise communications will be sent unencrypted via HTTP */ @Override protected boolean getHttpsOnly() { return getJetS3tProperties().getBoolProperty("gsservice.https-only", true); }
/** * @return * If true, JetS3t will specify bucket names in the request path of the HTTP message * instead of the Host header. */ @Override protected boolean getDisableDnsBuckets() { return getJetS3tProperties().getBoolProperty("s3service.disable-dns-buckets", false); }
/** * @return * If true, JetS3t will specify bucket names in the request path of the HTTP message * instead of the Host header. */ @Override protected boolean getDisableDnsBuckets() { return getJetS3tProperties().getBoolProperty("gsservice.disable-dns-buckets", true); }
/** * @return * If true, all communication with S3 will be via encrypted HTTPS connections, * otherwise communications will be sent unencrypted via HTTP. */ @Override protected boolean getHttpsOnly() { return getJetS3tProperties().getBoolProperty("s3service.https-only", true); }
/** * @return * If true, JetS3t will specify bucket names in the request path of the HTTP message * instead of the Host header. */ @Override protected boolean getDisableDnsBuckets() { return getJetS3tProperties().getBoolProperty("s3service.disable-dns-buckets", false); }
/** * @return * If true, all communication with GS will be via encrypted HTTPS connections, * otherwise communications will be sent unencrypted via HTTP */ @Override protected boolean getHttpsOnly() { return getJetS3tProperties().getBoolProperty("gsservice.https-only", true); }
/** * @return * If true, JetS3t will specify bucket names in the request path of the HTTP message * instead of the Host header. */ @Override protected boolean getDisableDnsBuckets() { return getJetS3tProperties().getBoolProperty("gsservice.disable-dns-buckets", true); }
/** * @return * If true, JetS3t will enable support for Storage Classes. */ @Override protected boolean getEnableStorageClasses() { return getJetS3tProperties().getBoolProperty("s3service.enable-storage-classes", // Enable non-standard storage classes by default for AWS, not for Google endpoints. !isTargettingGoogleStorageService()); }
protected boolean isLiveMD5HashingRequired(StorageObject object) { // We do not need to calculate the data MD5 hash during upload if the // expected hash value was provided as the object's Content-MD5 header. if(object.getMetadata(StorageObject.METADATA_HEADER_CONTENT_MD5) != null) { return false; } boolean disableLiveMd5 = getJetS3tProperties().getBoolProperty( "storage-service.disable-live-md5", false); return !disableLiveMd5; }
/** * @return * If true, JetS3t will enable support for Storage Classes. */ @Override protected boolean getEnableStorageClasses() { return getJetS3tProperties().getBoolProperty("s3service.enable-storage-classes", // Enable non-standard storage classes by default for AWS, not for Google endpoints. !isTargettingGoogleStorageService()); }
protected boolean isLiveMD5HashingRequired(StorageObject object) { // We do not need to calculate the data MD5 hash during upload if the // expected hash value was provided as the object's Content-MD5 header. if(object.getMetadata(StorageObject.METADATA_HEADER_CONTENT_MD5) != null) { return false; } boolean disableLiveMd5 = getJetS3tProperties().getBoolProperty( "storage-service.disable-live-md5", false); return !disableLiveMd5; }