Package org.pentaho.di.repository
Class RepositoryImportLocation
- java.lang.Object
-
- org.pentaho.di.repository.RepositoryImportLocation
-
public class RepositoryImportLocation extends Object
This singleton keeps the location of a repository import. NOT THREAD SAFE, ONLY ONE IMPORT AT A TIME PLEASE!!- Author:
- matt
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.pentaho.di.repository.RepositoryDirectoryInterface
getRepositoryImportLocation()
Get the repository import location.static void
setRepositoryImportLocation(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory)
Sets the repository import location.
-
-
-
Method Detail
-
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.
-
-