private static Configuration getDriverConf() {
    final Configuration driverConf = DriverConfiguration.CONF
        .set(DriverConfiguration.GLOBAL_LIBRARIES, EnvironmentUtils.getClassLocation(SchedulerDriver.class))
        .set(DriverConfiguration.DRIVER_IDENTIFIER, "TaskScheduler")
        .set(DriverConfiguration.ON_DRIVER_STARTED, SchedulerDriver.StartHandler.class)
        .set(DriverConfiguration.ON_EVALUATOR_ALLOCATED, SchedulerDriver.EvaluatorAllocatedHandler.class)
        .set(DriverConfiguration.ON_CONTEXT_ACTIVE, SchedulerDriver.ActiveContextHandler.class)
        .set(DriverConfiguration.ON_TASK_COMPLETED, SchedulerDriver.CompletedTaskHandler.class)
        .build();

    return driverConf;
  }
private static Configuration getDriverConf ( ) { final Configuration driverConf = DriverConfiguration . CONF . set ( DriverConfiguration . GLOBAL_LIBRARIES , EnvironmentUtils . getClassLocation ( SchedulerDriver . class ) ) . set ( DriverConfiguration . DRIVER_IDENTIFIER , "TaskScheduler" ) . set ( DriverConfiguration . ON_DRIVER_STARTED , SchedulerDriver . StartHandler . class ) . set ( DriverConfiguration . ON_EVALUATOR_ALLOCATED , SchedulerDriver . EvaluatorAllocatedHandler . class ) . set ( DriverConfiguration . ON_CONTEXT_ACTIVE , SchedulerDriver . ActiveContextHandler . class ) . set ( DriverConfiguration . ON_TASK_COMPLETED , SchedulerDriver . CompletedTaskHandler . class ) . build ( ) ; return driverConf ; }
@return The Driver configuration.