Class InternalAssetProperties.StorageProvider.GoogleCloudStorage
java.lang.Object
com.broadleafcommerce.asset.autoconfigure.InternalAssetProperties.StorageProvider.GoogleCloudStorage
- Enclosing class:
- InternalAssetProperties.StorageProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setBucketName
(String bucketName) void
setMaxGeneratedDirectoryDepth
(int maxGeneratedDirectoryDepth) Sets the maximum generated directory depth on the filesystem based on the MD5 hash of the filename.void
setPathPrefixInBucket
(String pathPrefixInBucket) void
setProjectId
(String projectId) toString()
-
Constructor Details
-
GoogleCloudStorage
public GoogleCloudStorage()
-
-
Method Details
-
setMaxGeneratedDirectoryDepth
public void setMaxGeneratedDirectoryDepth(int maxGeneratedDirectoryDepth) Sets the maximum generated directory depth on the filesystem based on the MD5 hash of the filename. Note: values greater than 3 are not supported.
- Parameters:
maxGeneratedDirectoryDepth
- the maximum directory depth that should exist on the filesystem- Throws:
IllegalArgumentException
- if a value greater than 3 is supplied- See Also:
-
maxGeneratedDirectoryDepth
-
getBucketName
-
getProjectId
-
getPathPrefixInBucket
-
getMaxGeneratedDirectoryDepth
public int getMaxGeneratedDirectoryDepth() -
setBucketName
-
setProjectId
-
setPathPrefixInBucket
-
toString
-