public interface GlobalContextExtender
Register
annotation) in order to
extend (initialize) the contexts used by the Generator
.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> globalParameterCollector)
Collects the names and values of the globals avilable when generating content.
|
void collectTemplate(BiConsumer<String,Object> globalParameterCollector)
globalParameterCollector
- the collector to be supplied with the variable name and value.void collectScripting(BiConsumer<String,Object> globalParameterCollector)
globalParameterCollector
- the collector to be supplied with the variable name and value.Copyright © 2018. All rights reserved.