public JobMeta ripDB( final List<DatabaseMeta> databases, final String jobName, final RepositoryDirectory repdir, final String directory, final DatabaseMeta sourceDbInfo, final DatabaseMeta targetDbInfo, final String[] tables ) { return delegates.jobs.ripDB( databases, jobName, repdir, directory, sourceDbInfo, targetDbInfo, tables ); }
public boolean performFinish() { try { JobMeta jobMeta = ripDB( databases, page3.getJobname(), page3.getRepositoryDirectory(), page3.getDirectory(), page1 .getSourceDatabase(), page1.getTargetDatabase(), page2.getSelection() ); if ( jobMeta == null ) { return false; } if ( page3.getRepositoryDirectory() != null ) { spoon.saveToRepository( jobMeta, false ); } else { spoon.saveToFile( jobMeta ); } addJobGraph( jobMeta ); return true; } catch ( Exception e ) { new ErrorDialog( spoon.getShell(), "Error", "An unexpected error occurred!", e ); return false; } }