Package org.pentaho.di.trans

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


        }

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


      trans.startThreads();
      trans.waitUntilFinished();
    }
    finally
    {
      trans.cleanup();
      currentlyRunningTransformation = null;
    }
    if (trans.getErrors() != 0 && isStopOnError()) {
      throw new ReportDataFactoryException(String.format
          ("Transformation reported %d records with errors and stop-on-error is true. Aborting.", trans.getErrors()));
View Full Code Here

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