@Test public void testExecuteJobsResults() { Settings settings = new Settings(); List<BfTestJob> jobs = new ArrayList<>(); jobs.add(new BfTestJob(settings, "result1")); jobs.add(new BfTestJob(settings, "result2")); Set<String> output = new HashSet<>(); BfTestAnswerElement ae = new BfTestAnswerElement(); BatfishJobExecutor.runJobsInExecutor( settings, _logger, jobs, output, ae, false, TEST_EXECUTOR_DESC); assertEquals(output, Sets.newHashSet("result1", "result2")); }
public static < JobT extends BatfishJob<JobResultT>, AnswerElementT extends AnswerElement, JobResultT extends BatfishJobResult<OutputT, AnswerElementT>, OutputT> void runJobsInExecutor( Settings settings, BatfishLogger logger, List<JobT> jobs, OutputT output, AnswerElementT answerElement, boolean haltOnProcessingError, String description) { getBatfishJobExecutor(settings, logger) .executeJobs(jobs, output, answerElement, haltOnProcessingError, description); }
BatfishJobExecutor { public static < JobT extends BatfishJob<JobResultT>, AnswerElementT extends AnswerElement, JobResultT extends BatfishJobResult<OutputT, AnswerElementT>, OutputT> void runJobsInExecutor( Settings settings, BatfishLogger logger, List<JobT> jobs, OutputT output, AnswerElementT answerElement, boolean haltOnProcessingError, String description) { getBatfishJobExecutor(settings, logger) .executeJobs(jobs, output, answerElement, haltOnProcessingError, description); } }
BatfishJobExecutor { public static < JobT extends BatfishJob<JobResultT>, AnswerElementT extends AnswerElement, JobResultT extends BatfishJobResult<OutputT, AnswerElementT>, OutputT> void runJobsInExecutor( Settings settings, BatfishLogger logger, List<JobT> jobs, OutputT output, AnswerElementT answerElement, boolean haltOnProcessingError, String description) { getBatfishJobExecutor(settings, logger) .executeJobs(jobs, output, answerElement, haltOnProcessingError, description); } private  BatfishJobExecutor(Settings settings, BatfishLogger logger); }
BatfishJobExecutor { public static < JobT extends BatfishJob<JobResultT>, AnswerElementT extends AnswerElement, JobResultT extends BatfishJobResult<OutputT, AnswerElementT>, OutputT> void runJobsInExecutor( Settings settings, BatfishLogger logger, List<JobT> jobs, OutputT output, AnswerElementT answerElement, boolean haltOnProcessingError, String description) { getBatfishJobExecutor(settings, logger) .executeJobs(jobs, output, answerElement, haltOnProcessingError, description); } private  BatfishJobExecutor(Settings settings, BatfishLogger logger); static void runJobsInExecutor(
          Settings settings,
          BatfishLogger logger,
          List<JobT> jobs,
          OutputT output,
          AnswerElementT answerElement,
          boolean haltOnProcessingError,
          String description); }
BatfishJobExecutor { public static < JobT extends BatfishJob<JobResultT>, AnswerElementT extends AnswerElement, JobResultT extends BatfishJobResult<OutputT, AnswerElementT>, OutputT> void runJobsInExecutor( Settings settings, BatfishLogger logger, List<JobT> jobs, OutputT output, AnswerElementT answerElement, boolean haltOnProcessingError, String description) { getBatfishJobExecutor(settings, logger) .executeJobs(jobs, output, answerElement, haltOnProcessingError, description); } private  BatfishJobExecutor(Settings settings, BatfishLogger logger); static void runJobsInExecutor(
          Settings settings,
          BatfishLogger logger,
          List<JobT> jobs,
          OutputT output,
          AnswerElementT answerElement,
          boolean haltOnProcessingError,
          String description);  }