public abstract class AbstractWebCmsDataInstaller extends Object
| Constructor and Description |
|---|
AbstractWebCmsDataInstaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(org.springframework.core.io.Resource resource)
Add a single YAML resource to import.
|
void |
addResource(String location)
Add a single YAML resource to import by specifying the resource location.
|
void |
install() |
protected abstract void |
registerResources(List<String> locations)
Register YAML resources to import.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setDataImportService(WebCmsDataImportService dataImportService) |
public void addResource(String location)
location - of the resourcepublic void addResource(org.springframework.core.io.Resource resource)
resource - to addprotected abstract void registerResources(List<String> locations)
locations - to add@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
@Autowired public void setDataImportService(WebCmsDataImportService dataImportService)
Copyright © 2020. All rights reserved.