public interface LocalDataBuilder
Life-cycle: These are long-lived objects. The
local data builder object is plugged into the Engine
, and then it may
be in use during several processing sessions.
Typically the construction of the object is done by
Settings.execute()
, based on the value of setting
"localData".
Local data builders that are added with setting "localData" (or
directly with Engine.addLocalDataBuilder(int, java.lang.String, fmpp.LocalDataBuilder)
) receive notifications about
the events of the Engine
if they implement interface
ProgressListener
.
Modifier and Type | Method and Description |
---|---|
java.util.Map |
build(Engine eng,
TemplateEnvironment env)
Returns the variables that could be added to the local data.
|
java.util.Map build(Engine eng, TemplateEnvironment env) throws java.lang.Exception
null
. The returned map will not be modified
(although technically, badly behaved 3rd party code can modify
the values soted in the map...).java.lang.Exception