Package org.pentaho.di.repository
Class RepositoryImportLocation
java.lang.Object
org.pentaho.di.repository.RepositoryImportLocation
This singleton keeps the location of a repository import.
NOT THREAD SAFE, ONLY ONE IMPORT AT A TIME PLEASE!!
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.pentaho.di.repository.RepositoryDirectoryInterface
Get the repository import location.static void
setRepositoryImportLocation
(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) Sets the repository import location.
-
Method Details
-
getRepositoryImportLocation
public static org.pentaho.di.repository.RepositoryDirectoryInterface getRepositoryImportLocation()Get the repository import location. WARNING: NOT THREAD SAFE, ONLY ONE IMPORT AT A TIME PLEASE!!- Returns:
- the import location in the repository in the form of a repository directory. If no import location is set, null is returned.
-
setRepositoryImportLocation
public static void setRepositoryImportLocation(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) Sets the repository import location. WARNING: NOT THREAD SAFE, ONLY ONE IMPORT AT A TIME PLEASE!! ALSO MAKE SURE TO CLEAR THE IMPORT DIRECTORY AFTER IMPORT!! (sorry for shouting)- Parameters:
repositoryDirectory
- the import location in the repository in the form of a repository directory.
-