public class S3MediaStorageCleaner extends java.lang.Object implements MediaStorageInitializer
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
tenantPrefix |
| Constructor and Description |
|---|
S3MediaStorageCleaner() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStorageConnection()
checks if communication with external media storage is possible.
|
void |
onInitialize()
Prepares media storage on initialization.
|
void |
onUpdate()
Prepares media storage on update.
|
void |
setCleanOnInit(boolean cleanOnInit) |
void |
setS3StorageServiceFactory(S3StorageServiceFactory s3StorageServiceFactory) |
void |
setStorageConfigService(MediaStorageConfigService storageConfigService) |
void |
setTenantPrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfailOnInitUpdateErrorpublic void setTenantPrefix()
public void onInitialize()
MediaStorageInitializeronInitialize in interface MediaStorageInitializerpublic void setCleanOnInit(boolean cleanOnInit)
public void setStorageConfigService(MediaStorageConfigService storageConfigService)
public void setS3StorageServiceFactory(S3StorageServiceFactory s3StorageServiceFactory)
public void onUpdate()
MediaStorageInitializeronUpdate in interface MediaStorageInitializerpublic void checkStorageConnection()
MediaStorageInitializercheckStorageConnection in interface MediaStorageInitializerCopyright © 2018 SAP SE. All Rights Reserved.