use of org.pentaho.di.trans.step.errorhandling.Stream in project pentaho-kettle by pentaho.
the class FilterRowsMeta method getStepIOMeta.
/**
* Returns the Input/Output metadata for this step.
*/
public StepIOMetaInterface getStepIOMeta() {
StepIOMetaInterface ioMeta = super.getStepIOMeta(false);
if (ioMeta == null) {
ioMeta = new StepIOMeta(true, true, false, false, false, false);
ioMeta.addStream(new Stream(StreamType.TARGET, null, BaseMessages.getString(PKG, "FilterRowsMeta.InfoStream.True.Description"), StreamIcon.TRUE, null));
ioMeta.addStream(new Stream(StreamType.TARGET, null, BaseMessages.getString(PKG, "FilterRowsMeta.InfoStream.False.Description"), StreamIcon.FALSE, null));
setStepIOMeta(ioMeta);
}
return ioMeta;
}
use of org.pentaho.di.trans.step.errorhandling.Stream in project pentaho-kettle by pentaho.
the class TransExecutorMeta 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, "TransExecutorMeta.ResultStream.Description"), StreamIcon.TARGET, null));
ioMeta.addStream(new Stream(StreamType.TARGET, outputRowsSourceStepMeta, BaseMessages.getString(PKG, "TransExecutorMeta.ResultRowsStream.Description"), StreamIcon.TARGET, null));
ioMeta.addStream(new Stream(StreamType.TARGET, resultFilesTargetStepMeta, BaseMessages.getString(PKG, "TransExecutorMeta.ResultFilesStream.Description"), StreamIcon.TARGET, null));
ioMeta.addStream(new Stream(StreamType.TARGET, executorsOutputStepMeta, BaseMessages.getString(PKG, "TransExecutorMeta.ExecutorOutputStream.Description"), StreamIcon.OUTPUT, null));
setStepIOMeta(ioMeta);
}
return ioMeta;
}
use of org.pentaho.di.trans.step.errorhandling.Stream in project pentaho-kettle by pentaho.
the class TableInputMeta method getStepIOMeta.
/**
* Returns the Input/Output metadata for this step. The generator step only produces output, does not accept input!
*/
public StepIOMetaInterface getStepIOMeta() {
StepIOMetaInterface ioMeta = super.getStepIOMeta(false);
if (ioMeta == null) {
ioMeta = new StepIOMeta(true, true, false, false, false, false);
StreamInterface stream = new Stream(StreamType.INFO, null, BaseMessages.getString(PKG, "TableInputMeta.InfoStream.Description"), StreamIcon.INFO, null);
ioMeta.addStream(stream);
setStepIOMeta(ioMeta);
}
return ioMeta;
}
use of org.pentaho.di.trans.step.errorhandling.Stream in project pentaho-kettle by pentaho.
the class AppendMeta method getStepIOMeta.
/**
* Returns the Input/Output metadata for this step.
*/
public StepIOMetaInterface getStepIOMeta() {
StepIOMetaInterface ioMeta = super.getStepIOMeta(false);
if (ioMeta == null) {
ioMeta = new StepIOMeta(true, true, false, false, false, false);
ioMeta.addStream(new Stream(StreamType.INFO, null, BaseMessages.getString(PKG, "AppendMeta.InfoStream.FirstStream.Description"), StreamIcon.INFO, null));
ioMeta.addStream(new Stream(StreamType.INFO, null, BaseMessages.getString(PKG, "AppendMeta.InfoStream.SecondStream.Description"), StreamIcon.INFO, null));
setStepIOMeta(ioMeta);
}
return ioMeta;
}
use of org.pentaho.di.trans.step.errorhandling.Stream in project pentaho-kettle by pentaho.
the class MultiMergeJoinMeta method searchInfoAndTargetSteps.
@Override
public void searchInfoAndTargetSteps(List<StepMeta> steps) {
StepIOMetaInterface ioMeta = getStepIOMeta();
ioMeta.getInfoStreams().clear();
for (int i = 0; i < inputSteps.length; i++) {
String inputStepName = inputSteps[i];
if (i >= ioMeta.getInfoStreams().size()) {
ioMeta.addStream(new Stream(StreamType.INFO, StepMeta.findStep(steps, inputStepName), BaseMessages.getString(PKG, "MultiMergeJoin.InfoStream.Description"), StreamIcon.INFO, inputStepName));
}
}
}
Aggregations