Package fmpp.localdatabuilders
Class MapLocalDataBuilder
java.lang.Object
fmpp.localdatabuilders.MapLocalDataBuilder
- All Implemented Interfaces:
LocalDataBuilder
Trivial local data builder that returns the
Map
passed to
its constructor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild
(Engine eng, TemplateEnvironment env) Returns the variables that could be added to the local data.
-
Constructor Details
-
MapLocalDataBuilder
-
-
Method Details
-
build
Description copied from interface:LocalDataBuilder
Returns the variables that could be added to the local data.- Specified by:
build
in interfaceLocalDataBuilder
- Returns:
- the variables to add to the local data. Can be
null
. The returned map will not be modified (although technically, badly behaved 3rd party code can modify the values soted in the map...). - Throws:
Exception
-