Interface DataSourceFactory
public interface DataSourceFactory
Factory for creating data sources for modeling tool.
-
Method Summary
Modifier and TypeMethodDescriptioncreateLocalDataSource
(File repositoryDirectory) Creates a new local data source.createRemoteDataSource
(Server server) Creates a new remote data source.int
Returns the current version of data sources created by this factory.
-
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
Creates a new local data source.- Parameters:
repositoryDirectory
- The directory containing the repository data.- Returns:
- A new local data source.
-
createRemoteDataSource
Creates a new remote data source.- Parameters:
server
- The server- Returns:
- a new remote data source.
-