Class ClassNameContextBuilder
java.lang.Object
repast.simphony.dataLoader.engine.ClassNameContextBuilder
- All Implemented Interfaces:
ContextBuilder
- Author:
- Nick Collier
-
Constructor Summary
ConstructorDescriptionClassNameContextBuilder
(String className) ClassNameContextBuilder
(ContextBuilder delegate) -
Method Summary
Modifier and TypeMethodDescriptionBuilds and returns a context.
-
Constructor Details
-
ClassNameContextBuilder
-
ClassNameContextBuilder
public ClassNameContextBuilder(String className) throws IllegalAccessException, InstantiationException, ClassNotFoundException
-
-
Method Details
-
getDataLoader
-
build
Builds and returns a context. Building a context consists of filling it with agents, adding projects and so forth. When this is called for the master context the system will pass in a created context based on information given in the model.score file. When called for subcontexts, each subcontext that was added when the master context was built will be passed in.- Specified by:
build
in interfaceContextBuilder
- Parameters:
context
-- Returns:
- the built context.
-
getDelegateDataLoader
-
getClassName
-