Ejemplo n.º 1
0
 public ExecutionEnvironment(
     @NotNull final ProgramRunner runner,
     @NotNull final RunnerAndConfigurationSettings configuration,
     final DataContext context) {
   this(
       configuration.getConfiguration(),
       configuration.getRunnerSettings(runner),
       configuration.getConfigurationSettings(runner),
       context);
 }
 private static void checkConfiguration(
     final ProgramRunner runner, final RunnerAndConfigurationSettings snapshot)
     throws RuntimeConfigurationException {
   final RunnerSettings runnerSettings = snapshot.getRunnerSettings(runner);
   final ConfigurationPerRunnerSettings configurationSettings =
       snapshot.getConfigurationSettings(runner);
   try {
     runner.checkConfiguration(runnerSettings, configurationSettings);
   } catch (AbstractMethodError e) {
     // backward compatibility
   }
 }