org.pentaho.di.repository
Class RepositoryImportLocation

java.lang.Object
  extended by 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
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.