Examples of waitUntilFinished()


Examples of org.pentaho.di.trans.Trans.waitUntilFinished()

          throw new ReportDataFactoryException("Cannot find the specified transformation step " + stepName);
        }

        currentlyRunningTransformation = trans;
        trans.startThreads();
        trans.waitUntilFinished();
        trans.cleanup();
        return tableProducer.getTableModel();
      }
      finally
      {
View Full Code Here

Examples of org.pentaho.di.trans.Trans.waitUntilFinished()

    currentlyRunningTransformation = trans;
    try
    {
      trans.startThreads();
      trans.waitUntilFinished();
    }
    finally
    {
      trans.cleanup();
      currentlyRunningTransformation = null;
View Full Code Here

Examples of org.pentaho.di.trans.Trans.waitUntilFinished()

    TransMeta transMeta = new TransMeta( jobFileFullPath );
    if ( transMeta != null ) {
      Trans trans = new Trans( transMeta );
      trans.execute( null );
      trans.waitUntilFinished();
    }
  }

  public String getTransFileName() {
    return transFileName;
View Full Code Here

Examples of org.pentaho.di.trans.Trans.waitUntilFinished()

      try {
        // It's running in a separate thread to allow monitoring,
        // etc.
        debug( Messages.getInstance().getString( "Kettle.DEBUG_TRANSFORMATION_RUNNING" ) ); //$NON-NLS-1$

        trans.waitUntilFinished();
        cleanLogChannel( trans );
        trans.cleanup();
      } catch ( Exception e ) {
        throw new KettleComponentException( Messages.getInstance().getErrorString(
            "Kettle.ERROR_0014_ERROR_DURING_EXECUTE" ), e ); //$NON-NLS-1$
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.