public void executeImport(ODocument cfg, OServer server) {

    OETLJob job = new OETLJob(cfg, server, new OETLListener() {
      @Override
      public void onEnd(OETLJob etlJob) {
        currentJob = null;
      }
    });

    job.validate();

    currentJob = job;
    pool.execute(job);

  }
public void executeImport(ODocument cfg, OServer server) {

    OETLJob job = new OETLJob(cfg, server, new OETLListener() {
      @Override
      public void onEnd(OETLJob etlJob) {
        currentJob = null;
      }
    });

    job.validate();

    currentJob = job;
    pool.execute(job);

  }
public void executeImport ( ODocument cfg , OServer server ) { OETLJob job = new OETLJob ( cfg , server , new OETLListener ( ) { @ Override public void onEnd ( OETLJob etlJob ) { currentJob = null ; } } ) ; job . validate ( ) ; currentJob = job ; pool . execute ( job ) ; }
Executes import with configuration;
Executes import with configuration ;