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)
GlobalContextExtender
collectTemplate
in interface GlobalContextExtender
parameterCollector
- the collector to be supplied with the variable name and value.public void collectScripting(BiConsumer<String,Object> globalParameterCollector)
GlobalContextExtender
collectScripting
in interface GlobalContextExtender
globalParameterCollector
- the collector to be supplied with the variable name and value.Copyright © 2018. All rights reserved.