Package org.craftercms.engine.store.s3
Class S3Context
java.lang.Object
org.craftercms.core.service.ContextImpl
org.craftercms.engine.store.s3.S3Context
- All Implemented Interfaces:
Cloneable
,org.craftercms.core.service.Context
public class S3Context
extends org.craftercms.core.service.ContextImpl
Implementation of
Context
for AWS S3.- Author:
- joseross
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.amazonaws.services.s3.AmazonS3URI
AWS S3 bucket uri to use as root folder for the site.Fields inherited from class org.craftercms.core.service.ContextImpl
CACHE_SCOPE_FORMAT, cacheOn, cacheVersion, id, ignoreHiddenFiles, maxAllowedItemsInCache, mergingOn, rootFolderPath, storeAdapter
Fields inherited from interface org.craftercms.core.service.Context
DEFAULT_CACHE_ON, DEFAULT_IGNORE_HIDDEN_FILES, DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE, DEFAULT_MERGING_ON
-
Constructor Summary
-
Method Summary
Methods inherited from class org.craftercms.core.service.ContextImpl
clone, equals, getCacheScope, getCacheVersion, getId, getMaxAllowedItemsInCache, getStoreAdapter, hashCode, ignoreHiddenFiles, isCacheOn, isMergingOn, setCacheVersion, toString
-
Field Details
-
rootFolderUri
protected com.amazonaws.services.s3.AmazonS3URI rootFolderUriAWS S3 bucket uri to use as root folder for the site.
-
-
Constructor Details
-
S3Context
-
-
Method Details
-
getBucket
Returns the name of the bucket. -
getKey
Returns the key of the folder.
-