Class FreezeDryedContextBuilder
java.lang.Object
repast.simphony.dataLoader.engine.FreezeDryedContextBuilder
- All Implemented Interfaces:
ContextBuilder
- Direct Known Subclasses:
DelimitedFileContextBuilder
,JDBCContextBuilder
-
Constructor Summary
ConstructorDescriptionFreezeDryedContextBuilder
(boolean createContextFromData, Iterable<Class<?>> classesToLoad, Object contextId) -
Method Summary
Modifier and TypeMethodDescriptionBuilds and returns a context.final Object
final boolean
void
void
load
(FreezeDryedRegistry registry, Context context) protected abstract void
registerWriters
(FreezeDryedRegistry registry)
-
Constructor Details
-
FreezeDryedContextBuilder
-
-
Method Details
-
build
Description copied from interface:ContextBuilder
Builds and returns a context. Building a context consists of filling it with agents, adding projections and so forth. The returned context does not necessarily have to be the passed in context.- Specified by:
build
in interfaceContextBuilder
- Returns:
- the built context.
-
registerWriters
- Throws:
FreezeDryingException
-
create
-
load
-
load
-
getClassesToLoad
-
getFreezeDryedContextId
-
isCreateContextFromData
public final boolean isCreateContextFromData()
-