@Test public void getObject() throws SAXException { when( testAttributes.getValue( anyString(), eq( "transformation" ) ) ).thenReturn( "TEST_TRANSFORMATION" ); when( testAttributes.getValue( anyString(), eq( "directory" ) ) ).thenReturn( "TEST_DIRECTORY" ); kettleTransFromRepositoryReadHandler.startParsing( testAttributes ); kettleTransFromRepositoryReadHandler.doneParsing(); KettleTransformationProducer actualResult = kettleTransFromRepositoryReadHandler.getObject(); assertNotNull( actualResult ); assertEquals( "TEST_STEP", actualResult.getStepName() ); }
public KettleTransformationProducer getObject() { KettleTransFromRepositoryProducer kettleTransFromRepositoryProducer = new KettleTransFromRepositoryProducer ( getRepositoryName(), directory, transformation, getStepName(), getUsername(), getPassword(), getDefinedArgumentNames(), getDefinedVariableNames() ); kettleTransFromRepositoryProducer.setStopOnError( isStopOnError() ); return kettleTransFromRepositoryProducer; }
KettleTransFromRepositoryReadHandler extends AbstractKettleTransformationProducerReadHandler { public KettleTransformationProducer getObject() { KettleTransFromRepositoryProducer kettleTransFromRepositoryProducer = new KettleTransFromRepositoryProducer ( getRepositoryName(), directory, transformation, getStepName(), getUsername(), getPassword(), getDefinedArgumentNames(), getDefinedVariableNames() ); kettleTransFromRepositoryProducer.setStopOnError( isStopOnError() ); return kettleTransFromRepositoryProducer; } }
KettleTransFromRepositoryReadHandler extends AbstractKettleTransformationProducerReadHandler { public KettleTransformationProducer getObject() { KettleTransFromRepositoryProducer kettleTransFromRepositoryProducer = new KettleTransFromRepositoryProducer ( getRepositoryName(), directory, transformation, getStepName(), getUsername(), getPassword(), getDefinedArgumentNames(), getDefinedVariableNames() ); kettleTransFromRepositoryProducer.setStopOnError( isStopOnError() ); return kettleTransFromRepositoryProducer; } KettleTransFromRepositoryReadHandler(); }
KettleTransFromRepositoryReadHandler extends AbstractKettleTransformationProducerReadHandler { public KettleTransformationProducer getObject() { KettleTransFromRepositoryProducer kettleTransFromRepositoryProducer = new KettleTransFromRepositoryProducer ( getRepositoryName(), directory, transformation, getStepName(), getUsername(), getPassword(), getDefinedArgumentNames(), getDefinedVariableNames() ); kettleTransFromRepositoryProducer.setStopOnError( isStopOnError() ); return kettleTransFromRepositoryProducer; } KettleTransFromRepositoryReadHandler(); String getTransformation(); String getDirectory(); KettleTransformationProducer getObject(); }
KettleTransFromRepositoryReadHandler extends AbstractKettleTransformationProducerReadHandler { public KettleTransformationProducer getObject() { KettleTransFromRepositoryProducer kettleTransFromRepositoryProducer = new KettleTransFromRepositoryProducer ( getRepositoryName(), directory, transformation, getStepName(), getUsername(), getPassword(), getDefinedArgumentNames(), getDefinedVariableNames() ); kettleTransFromRepositoryProducer.setStopOnError( isStopOnError() ); return kettleTransFromRepositoryProducer; } KettleTransFromRepositoryReadHandler(); String getTransformation(); String getDirectory(); KettleTransformationProducer getObject();  }