etl/src/main/java/com/orientechnologies/orient/etl/http/OETLHandler.java
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 ;