public class DefaultGlobalContextExtender extends Object implements GlobalContextExtender
| Constructor and Description |
|---|
DefaultGlobalContextExtender() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectScripting(BiConsumer<String,Object> globalParameterCollector)
Collects the names and values of globals available when executing a system script.
|
void |
collectTemplate(BiConsumer<String,Object> parameterCollector)
Collects the names and values of the globals avilable when generating content.
|
public void collectTemplate(BiConsumer<String,Object> parameterCollector)
GlobalContextExtendercollectTemplate in interface GlobalContextExtenderparameterCollector - the collector to be supplied with the variable name and value.public void collectScripting(BiConsumer<String,Object> globalParameterCollector)
GlobalContextExtendercollectScripting in interface GlobalContextExtenderglobalParameterCollector - the collector to be supplied with the variable name and value.Copyright © 2018. All rights reserved.