Class FreezeDryedContextBuilder

java.lang.Object
repast.simphony.dataLoader.engine.FreezeDryedContextBuilder
All Implemented Interfaces:
ContextBuilder
Direct Known Subclasses:
DelimitedFileContextBuilder, JDBCContextBuilder

public abstract class FreezeDryedContextBuilder extends Object implements ContextBuilder
  • Constructor Details

    • FreezeDryedContextBuilder

      public FreezeDryedContextBuilder(boolean createContextFromData, Iterable<Class<?>> classesToLoad, Object contextId)
  • Method Details

    • build

      public Context build(Context context)
      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 interface ContextBuilder
      Returns:
      the built context.
    • registerWriters

      protected abstract void registerWriters(FreezeDryedRegistry registry) throws FreezeDryingException
      Throws:
      FreezeDryingException
    • create

      public Context create(Object creatorID)
    • load

      public void load(Context context)
    • load

      public void load(FreezeDryedRegistry registry, Context context)
    • getClassesToLoad

      public final Iterable<Class<?>> getClassesToLoad()
    • getFreezeDryedContextId

      public final Object getFreezeDryedContextId()
    • isCreateContextFromData

      public final boolean isCreateContextFromData()