public void addDatabases() { connections = new String[jobMeta.nrDatabases()]; for ( int i = 0; i < jobMeta.nrDatabases(); i++ ) { DatabaseMeta ci = jobMeta.getDatabase( i ); connections[i] = ci.getName(); } }
/** * Adds the databases from the job metadata to the combo box. * * @param wConnection * the w connection */ public void addDatabases( CCombo wConnection ) { for ( int i = 0; i < jobMeta.nrDatabases(); i++ ) { DatabaseMeta ci = jobMeta.getDatabase( i ); wConnection.add( ci.getName() ); } }
for ( int i = 0; i < nrDatabases(); i++ ) { DatabaseMeta dbMeta = getDatabase( i ); if ( props != null && props.areOnlyUsedConnectionsSavedToXML() ) {
public void getDatabases() { wFields.removeAll(); for ( int i = 0; i < jobMeta.nrDatabases(); i++ ) { DatabaseMeta ci = jobMeta.getDatabase( i ); if ( ci != null ) { wFields.add( new String[] { ci.getName(), "0", JobEntryCheckDbConnections.unitTimeDesc[0] } ); } } wFields.removeEmptyRows(); wFields.setRowNums(); wFields.optWidth( true ); }
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
for ( int i = 0; i < nrDatabases(); i++ ) { DatabaseMeta meta = getDatabase( i ); stringList.add( new StringSearchResult( meta.getName(), meta, this,
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
for ( int i = 0; i < jobMeta.nrDatabases(); i++ ) { jobMeta.getDatabase( i ).setObjectId( null );
if ( jobEntry.getDatabase() == null && jobMeta.nrDatabases() == 1 ) { wConnection.select( 0 );
int nrWorks = 2 + jobMeta.nrDatabases() + jobMeta.nrNotes() + jobMeta.nrJobEntries() + jobMeta.nrJobHops(); if ( monitor != null ) { monitor.beginTask( BaseMessages.getString( PKG, "JobMeta.Monitor.SavingTransformation" ) log.logDebug( BaseMessages.getString( PKG, "JobMeta.Log.SavingDatabaseConnections" ) ); for ( int i = 0; i < jobMeta.nrDatabases(); i++ ) { if ( monitor != null ) { monitor.subTask( BaseMessages.getString( PKG, "JobMeta.Monitor.SavingDatabaseTask.Title" ) + ( i + 1 ) + "/" + jobMeta.nrDatabases() );