/** * @param query the name of the transformation step that should be polled. * @return the initialized transformation producer. */ public KettleTransformationProducer createTransformationProducer(final String query) { if (CdaEngine.getInstance().isStandalone()) { return new KettleTransFromFileProducer( "", connectionInfo.getTransformationFile(), query, null, null, connectionInfo.getDefinedArgumentNames(), connectionInfo.getDefinedVariableNames()); } return new PentahoKettleTransFromFileProducer( "", connectionInfo.getTransformationFile(), query, null, null, connectionInfo.getDefinedArgumentNames(), connectionInfo.getDefinedVariableNames()); }