Class DataSetRegistry

java.lang.Object
repast.simphony.data2.DataSetRegistry

public class DataSetRegistry extends Object
Registry that allows various parts of the data collection system to be shared among controller actions.
Author:
Nick Collier
  • Constructor Details

    • DataSetRegistry

      public DataSetRegistry()
  • Method Details

    • addDataSetManager

      public void addDataSetManager(Object contextId, DataSetManager manager)
      Adds a DataSetManager for the specified context.
      Parameters:
      contextId -
      manager -
    • getDataSetManager

      public DataSetManager getDataSetManager(Object contextId)
      Gets the DataSetManager associated with the specified context.
      Parameters:
      contextId -
      Returns:
      the DataSetManager associated with the specified context.
    • addFileDataSink

      public void addFileDataSink(FileDataSink sink)
      Adds a FileDataSink to this DataSetRegistry.
      Parameters:
      sink -
    • fileSinks

      public Iterable<FileDataSink> fileSinks()
      Gets all the FileDataSinks that have been added to this DataSetRegistry.
      Returns:
      all the FileDataSinks that have been added to this DataSetRegistry.