org.pentaho.di.run
Class TimedTransRunner

java.lang.Object
  extended by org.pentaho.di.run.TimedTransRunner

public class TimedTransRunner
extends Object


Constructor Summary
TimedTransRunner(String filename, LogLevel logLevel, DatabaseMeta newTargetDatabaseMeta, long records)
           
 
Method Summary
 void addRowListener(String stepname, RowListener rowListener)
           
 String getFilename()
           
 LogLevel getLogLevel()
           
 Result getNewResult()
           
 long getRecords()
           
 double getRunTime()
           
 DatabaseMeta getTargetDatabaseMeta()
           
 TransMeta getTransMeta()
           
 void printTransDescription()
           
 boolean run()
           
 boolean runEngine()
           
 boolean runEngine(boolean printDescription)
           
 void setFilename(String filename)
           
 void setLogLevel(LogLevel logLevel)
           
 void setNewResult(Result result)
           
 void setNewRunTime(double runTime)
           
 void setRecords(long records)
           
 void setSpeed(double speed)
           
 void setTargetDatabaseMeta(DatabaseMeta targetDatabaseMeta)
           
 void setTransMeta(TransMeta transMeta)
           
 double speed()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedTransRunner

public TimedTransRunner(String filename,
                        LogLevel logLevel,
                        DatabaseMeta newTargetDatabaseMeta,
                        long records)
Method Detail

run

public boolean run()
            throws Exception
Throws:
Exception

printTransDescription

public void printTransDescription()

runEngine

public boolean runEngine()
                  throws KettleException
Throws:
KettleException

runEngine

public boolean runEngine(boolean printDescription)
                  throws KettleException
Throws:
KettleException

getFilename

public String getFilename()
Returns:
the filename

setFilename

public void setFilename(String filename)
Parameters:
filename - the filename to set

getLogLevel

public LogLevel getLogLevel()
Returns:
the logLevel

setLogLevel

public void setLogLevel(LogLevel logLevel)
Parameters:
logLevel - the logLevel to set

getRecords

public long getRecords()
Returns:
the records

setRecords

public void setRecords(long records)
Parameters:
records - the records to set

getNewResult

public Result getNewResult()
Returns:
the result

setNewResult

public void setNewResult(Result result)
Parameters:
result - the result to set

addRowListener

public void addRowListener(String stepname,
                           RowListener rowListener)

getTransMeta

public TransMeta getTransMeta()
Returns:
the transMeta

setTransMeta

public void setTransMeta(TransMeta transMeta)
Parameters:
transMeta - the transMeta to set

getRunTime

public double getRunTime()
Returns:
the Run Time

setNewRunTime

public void setNewRunTime(double runTime)
Parameters:
runTime - the run time to set

speed

public double speed()
Returns:
the speed

setSpeed

public void setSpeed(double speed)
Parameters:
speed - the speed to set

getTargetDatabaseMeta

public DatabaseMeta getTargetDatabaseMeta()
Returns:
the targetDatabaseMeta

setTargetDatabaseMeta

public void setTargetDatabaseMeta(DatabaseMeta targetDatabaseMeta)
Parameters:
targetDatabaseMeta - the targetDatabaseMeta to set