class ScheduledJobExecutor implements ApplicationContextAware {

    boolean shouldAutoRegister(ScheduledJob scheduledJob) {
        var autoRegisteredAnnotation = scheduledJob.getClass().getAnnotation(AutoRegistered.class);

        if(Objects.isNull(autoRegisteredAnnotation)) {
            return true;
        } else {
            return autoRegisteredAnnotation.value();
        }
    }

    @Autowired public  ScheduledJobExecutor(ScheduledJobLogRepository jobLogRepo, Clock clock);

}