private JobManager(@NonNull final Configuration conf, @NotEmpty final String appName, @NotEmpty final String frequency, final boolean shouldLockFrequency) { this.conf = conf; this.appName = appName; this.jobMetrics = new JobMetrics(appName); this.reporters = new Reporters(); this.reporters.addReporter(new ConsoleReporter()); this.jobLockManager = new JobLockManager(conf, frequency, shouldLockFrequency); this.postJobManagerActions = new JobDagActions(this.reporters, "jobManager"); }