@Test void testJobExecutor() { assertThrows( NullPointerException.class, () -> new JobExecutor(null, null, null, null, null, null)); }
public JobExecutor( DataService dataService, EntityManager entityManager, ExecutorService executorService, JobFactoryRegistry jobFactoryRegistry, JobExecutionContextFactory jobExecutionContextFactory, JobExecutionRegistry jobExecutionRegistry) { this.dataService = requireNonNull(dataService); this.entityManager = requireNonNull(entityManager); this.executorService = requireNonNull(executorService); this.jobFactoryRegistry = requireNonNull(jobFactoryRegistry); this.jobExecutionContextFactory = requireNonNull(jobExecutionContextFactory); this.jobExecutionRegistry = requireNonNull(jobExecutionRegistry); this.jobExecutionTemplate = new JobExecutionTemplate(); this.gson = new Gson(); }
JobExecutor { public JobExecutor( DataService dataService, EntityManager entityManager, ExecutorService executorService, JobFactoryRegistry jobFactoryRegistry, JobExecutionContextFactory jobExecutionContextFactory, JobExecutionRegistry jobExecutionRegistry) { this.dataService = requireNonNull(dataService); this.entityManager = requireNonNull(entityManager); this.executorService = requireNonNull(executorService); this.jobFactoryRegistry = requireNonNull(jobFactoryRegistry); this.jobExecutionContextFactory = requireNonNull(jobExecutionContextFactory); this.jobExecutionRegistry = requireNonNull(jobExecutionRegistry); this.jobExecutionTemplate = new JobExecutionTemplate(); this.gson = new Gson(); } }
JobExecutor { public JobExecutor( DataService dataService, EntityManager entityManager, ExecutorService executorService, JobFactoryRegistry jobFactoryRegistry, JobExecutionContextFactory jobExecutionContextFactory, JobExecutionRegistry jobExecutionRegistry) { this.dataService = requireNonNull(dataService); this.entityManager = requireNonNull(entityManager); this.executorService = requireNonNull(executorService); this.jobFactoryRegistry = requireNonNull(jobFactoryRegistry); this.jobExecutionContextFactory = requireNonNull(jobExecutionContextFactory); this.jobExecutionRegistry = requireNonNull(jobExecutionRegistry); this.jobExecutionTemplate = new JobExecutionTemplate(); this.gson = new Gson(); } JobExecutor(
      DataService dataService,
      EntityManager entityManager,
      ExecutorService executorService,
      JobFactoryRegistry jobFactoryRegistry,
      JobExecutionContextFactory jobExecutionContextFactory,
      JobExecutionRegistry jobExecutionRegistry); }
JobExecutor { public JobExecutor( DataService dataService, EntityManager entityManager, ExecutorService executorService, JobFactoryRegistry jobFactoryRegistry, JobExecutionContextFactory jobExecutionContextFactory, JobExecutionRegistry jobExecutionRegistry) { this.dataService = requireNonNull(dataService); this.entityManager = requireNonNull(entityManager); this.executorService = requireNonNull(executorService); this.jobFactoryRegistry = requireNonNull(jobFactoryRegistry); this.jobExecutionContextFactory = requireNonNull(jobExecutionContextFactory); this.jobExecutionRegistry = requireNonNull(jobExecutionRegistry); this.jobExecutionTemplate = new JobExecutionTemplate(); this.gson = new Gson(); } JobExecutor(
      DataService dataService,
      EntityManager entityManager,
      ExecutorService executorService,
      JobFactoryRegistry jobFactoryRegistry,
      JobExecutionContextFactory jobExecutionContextFactory,
      JobExecutionRegistry jobExecutionRegistry); @RunAsSystem void executeScheduledJob(String scheduledJobId); CompletableFuture<Void> submit(JobExecution jobExecution); CompletableFuture<Void> submit(
      JobExecution jobExecution, ExecutorService executorService); void cancel(JobExecution jobExecution); }
JobExecutor { public JobExecutor( DataService dataService, EntityManager entityManager, ExecutorService executorService, JobFactoryRegistry jobFactoryRegistry, JobExecutionContextFactory jobExecutionContextFactory, JobExecutionRegistry jobExecutionRegistry) { this.dataService = requireNonNull(dataService); this.entityManager = requireNonNull(entityManager); this.executorService = requireNonNull(executorService); this.jobFactoryRegistry = requireNonNull(jobFactoryRegistry); this.jobExecutionContextFactory = requireNonNull(jobExecutionContextFactory); this.jobExecutionRegistry = requireNonNull(jobExecutionRegistry); this.jobExecutionTemplate = new JobExecutionTemplate(); this.gson = new Gson(); } JobExecutor(
      DataService dataService,
      EntityManager entityManager,
      ExecutorService executorService,
      JobFactoryRegistry jobFactoryRegistry,
      JobExecutionContextFactory jobExecutionContextFactory,
      JobExecutionRegistry jobExecutionRegistry); @RunAsSystem void executeScheduledJob(String scheduledJobId); CompletableFuture<Void> submit(JobExecution jobExecution); CompletableFuture<Void> submit(
      JobExecution jobExecution, ExecutorService executorService); void cancel(JobExecution jobExecution);  }