public class S3MediaStorageCleaner extends Object implements MediaStorageInitializer
| Modifier and Type | Field and Description |
|---|---|
protected String |
tenantPrefix |
| Constructor and Description |
|---|
S3MediaStorageCleaner() |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected String tenantPrefix
public 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 MediaStorageInitializerCopyright © 2017 SAP SE. All Rights Reserved.