int intervalInSeconds = Const.toInt( environmentSubstitute( transLogTable.getLogInterval() ), -1 );
fdLogInterval.right = new FormAttachment( 100, 0 ); wLogInterval.setLayoutData( fdLogInterval ); wLogInterval.setText( Const.NVL( transLogTable.getLogInterval(), "" ) );
int intervalInSeconds = Const.toInt( environmentSubstitute( transLogTable.getLogInterval() ), -1 );
public void tableFieldsChangedCorrectlyAfterNullingGlobalParams( String valueForAllFields, String expectedAfterNullingGlobalParams ) { PerformanceLogTable performanceLogTable = getPerformanceLogTableWithAllEqFields( valueForAllFields ); performanceLogTable.setAllGlobalParametersToNull(); commonTableFieldsValueChecker( performanceLogTable, expectedAfterNullingGlobalParams ); assertEquals( performanceLogTable.getLogInterval(), expectedAfterNullingGlobalParams ); JobLogTable jobLogTable = getJobLogTableWithAllEqFields( valueForAllFields ); jobLogTable.setAllGlobalParametersToNull(); commonTableFieldsValueChecker( jobLogTable, expectedAfterNullingGlobalParams ); assertEquals( jobLogTable.getLogInterval(), expectedAfterNullingGlobalParams ); assertEquals( jobLogTable.getLogSizeLimit(), expectedAfterNullingGlobalParams ); TransLogTable transLogTable = getTransLogTableWithAllEqFields( valueForAllFields ); transLogTable.setAllGlobalParametersToNull(); commonTableFieldsValueChecker( transLogTable, expectedAfterNullingGlobalParams ); assertEquals( transLogTable.getLogInterval(), expectedAfterNullingGlobalParams ); assertEquals( transLogTable.getLogSizeLimit(), expectedAfterNullingGlobalParams ); }
rootNode.setProperty( PROP_LOG_INTERVAL, transMeta.getTransLogTable().getLogInterval() );
repository.connectionDelegate.insertTransAttribute( transMeta.getObjectId(), 0, KettleDatabaseRepository.TRANS_ATTRIBUTE_LOG_INTERVAL, 0, transMeta .getTransLogTable().getLogInterval() ); repository.connectionDelegate.insertTransAttribute( transMeta.getObjectId(), 0, KettleDatabaseRepository.TRANS_ATTRIBUTE_TRANSFORMATION_TYPE, 0, transMeta