public class ExtendedScriptConfigModel extends ScriptConfigModel
| Modifier and Type | Class and Description |
|---|---|
class |
ExtendedScriptConfigModel.ExtendedScopedConfigMap |
ConfigModel.ScopedConfigMapconfigService, scriptConfig| Constructor and Description |
|---|
ExtendedScriptConfigModel(ConfigService configService,
String xmlConfig,
ConfigImpl globalConfig,
Map<String,List<ConfigSection>> sectionsByArea,
List<ConfigSection> sections)
Constructor
|
| 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.
|
Object |
getScript()
Returns the script's config as a String
|
public ExtendedScriptConfigModel(ConfigService configService, String xmlConfig, ConfigImpl globalConfig, Map<String,List<ConfigSection>> sectionsByArea, List<ConfigSection> sections)
configService - ConfigService instancexmlConfig - StringglobalConfig - ConfigImplsectionsByArea - Mapsections - Listpublic Object getScript()
getScript in class ScriptConfigModelpublic Map<String,ConfigElement> getGlobal()
ConfigModelgetGlobal in class ConfigModelpublic Map<String,ConfigElement> getScoped()
getScoped in class ConfigModelCopyright © 2005–2016 Alfresco Software. All rights reserved.