Package org.pentaho.di.repository

Examples of org.pentaho.di.repository.RepositoryDirectoryInterface


                                         final ResourceManager resourceManager,
                                         final ResourceKey contextKey)
      throws ReportDataFactoryException, KettleException
  {
    // Find the directory specified.
    final RepositoryDirectoryInterface repositoryDirectory = repository.loadRepositoryDirectoryTree().findDirectory(directoryName);
    if (repositoryDirectory == null)
    {
      throw new ReportDataFactoryException("No such directory in repository: " + directoryName);
    }
    return repository.loadTransformation(transformationName, repositoryDirectory, null, true, null);
View Full Code Here


                                         final ResourceManager resourceManager,
                                         final ResourceKey contextKey)
      throws ReportDataFactoryException, KettleException
  {
    // Find the directory specified.
    final RepositoryDirectoryInterface repositoryDirectory = repository.loadRepositoryDirectoryTree().findDirectory(directoryName);
    if (repositoryDirectory == null)
    {
      throw new ReportDataFactoryException("No such directory in repository: " + directoryName);
    }
    return repository.loadTransformation(transformationName, repositoryDirectory, null, true, null);
View Full Code Here

        debug( Messages.getInstance().getString( "Kettle.DEBUG_GETTING_TRANSFORMATION_METADATA" ) ); //$NON-NLS-1$
      }

      try {
        // Load the transformation from the repository
        RepositoryDirectoryInterface repositoryDirectory =
            repository.loadRepositoryDirectoryTree().findDirectory( directoryName );
        transMeta = repository.loadTransformation( transformationName, repositoryDirectory, null, true, null );
      } catch ( Exception e ) {
        error( Messages.getInstance().getErrorString(
            "Kettle.ERROR_0009_TRANSFROMATION_METADATA_NOT_FOUND", directoryName + "/" + transformationName ), e ); //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

        debug( Messages.getInstance().getString( "Kettle.DEBUG_GETTING_JOB_METADATA" ) ); //$NON-NLS-1$
      }

      try {
        // Load the job from the repository
        RepositoryDirectoryInterface repositoryDirectory =
            repository.loadRepositoryDirectoryTree().findDirectory( directoryName );
        jobMeta = repository.loadJob( jobName, repositoryDirectory, null, null );
      } catch ( Exception e ) {
        error( Messages.getInstance().getErrorString(
            "Kettle.ERROR_0020_JOB_METADATA_NOT_FOUND", directoryName + "/" + jobName ), e ); //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

TOP

Related Classes of org.pentaho.di.repository.RepositoryDirectoryInterface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.