public StreamInterface findInfoStream(StepMeta infoStep) { for (StreamInterface stream : getInfoStreams()) { if (infoStep.equals(stream.getStepMeta())) { return stream; } } return null; }
public StreamInterface findTargetStream(StepMeta targetStep) { for (StreamInterface stream : getTargetStreams()) { if (targetStep.equals(stream.getStepMeta())) { return stream; } } return null; }