Class 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 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.