Interface DataSourceFactory


public interface DataSourceFactory
Factory for creating data sources for modeling tool.
  • Method Details

    • getVersion

      int getVersion()
      Returns the current version of data sources created by this factory.
      Returns:
      the current version of data sources created by this factory.
    • createLocalDataSource

      LocalDataSource createLocalDataSource(File repositoryDirectory)
      Creates a new local data source.
      Parameters:
      repositoryDirectory - The directory containing the repository data.
      Returns:
      A new local data source.
    • createRemoteDataSource

      RemoteDataSource createRemoteDataSource(Server server)
      Creates a new remote data source.
      Parameters:
      server - The server
      Returns:
      a new remote data source.