Search in sources :

Example 21 with Stream

use of org.pentaho.di.trans.step.errorhandling.Stream in project pentaho-kettle by pentaho.

the class JobExecutorMeta method getStepIOMeta.

@Override
public StepIOMetaInterface getStepIOMeta() {
    StepIOMetaInterface ioMeta = super.getStepIOMeta(false);
    if (ioMeta == null) {
        ioMeta = new StepIOMeta(true, true, true, false, true, false);
        ioMeta.addStream(new Stream(StreamType.TARGET, executionResultTargetStepMeta, BaseMessages.getString(PKG, "JobExecutorMeta.ResultStream.Description"), StreamIcon.TARGET, null));
        ioMeta.addStream(new Stream(StreamType.TARGET, resultRowsTargetStepMeta, BaseMessages.getString(PKG, "JobExecutorMeta.ResultRowsStream.Description"), StreamIcon.TARGET, null));
        ioMeta.addStream(new Stream(StreamType.TARGET, resultFilesTargetStepMeta, BaseMessages.getString(PKG, "JobExecutorMeta.ResultFilesStream.Description"), StreamIcon.TARGET, null));
        setStepIOMeta(ioMeta);
    }
    return ioMeta;
}
Also used : StepIOMeta(org.pentaho.di.trans.step.StepIOMeta) StepIOMetaInterface(org.pentaho.di.trans.step.StepIOMetaInterface) Stream(org.pentaho.di.trans.step.errorhandling.Stream)

Aggregations

Stream (org.pentaho.di.trans.step.errorhandling.Stream)21 StepIOMetaInterface (org.pentaho.di.trans.step.StepIOMetaInterface)18 StepIOMeta (org.pentaho.di.trans.step.StepIOMeta)15 StreamInterface (org.pentaho.di.trans.step.errorhandling.StreamInterface)11 ArrayList (java.util.ArrayList)3 Repository (org.pentaho.di.repository.Repository)3 StepMeta (org.pentaho.di.trans.step.StepMeta)2 ByteArrayInputStream (java.io.ByteArrayInputStream)1 InputStream (java.io.InputStream)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 Arrays (java.util.Arrays)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Map (java.util.Map)1 ResourceBundle (java.util.ResourceBundle)1 Set (java.util.Set)1 StringTokenizer (java.util.StringTokenizer)1 Timer (java.util.Timer)1 TimerTask (java.util.TimerTask)1