Class BuilderContextBuilder
- java.lang.Object
-
- repast.simphony.dataLoader.ui.wizard.builder.BuilderContextBuilder
-
- All Implemented Interfaces:
ContextBuilder
public class BuilderContextBuilder extends Object implements ContextBuilder
-
-
Constructor Summary
Constructors Constructor Description BuilderContextBuilder(ContextDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Context
build(Context context)
Builds and returns a context.ContextDescriptor
getDescriptor()
-
-
-
Constructor Detail
-
BuilderContextBuilder
public BuilderContextBuilder(ContextDescriptor descriptor)
-
-
Method Detail
-
build
public Context build(Context context)
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.
-
getDescriptor
public ContextDescriptor getDescriptor()
-
-