public abstract class ConfigModel extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigModel.ScopedConfigMap
Map to allow access to scoped config in a unified way
for scripts and templates.
|
| Modifier and Type | Field and Description |
|---|---|
protected ConfigService |
configService |
protected Map<String,ConfigElement> |
globalConfig |
protected String |
scriptConfig |
| Constructor and Description |
|---|
ConfigModel(ConfigService configService,
String scriptConfig) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ConfigElement> |
getGlobal()
Retrieves the global configuration as a Map.
|
Map<String,ConfigElement> |
getScoped()
Retrieves scoped configuration as a Map.
|
abstract Object |
getScript()
Retrieves the script configuration.
It's up to the subclass what is returned to represent script config. |
protected ConfigService configService
protected Map<String,ConfigElement> globalConfig
protected String scriptConfig
public ConfigModel(ConfigService configService, String scriptConfig)
public Map<String,ConfigElement> getGlobal()
public Map<String,ConfigElement> getScoped()
public abstract Object getScript()
Copyright © 2005–2018 Alfresco Software. All rights reserved.