@VisibleForTesting
    public boolean handleRegister(ScheduleInfo scheduleInfo, Class<? extends Job> clz) {
        if (scheduledJobSet.contains(scheduleInfo.getInlongGroupId())) {
            throw new QuartzScheduleException("Group " + scheduleInfo.getInlongGroupId() + " is already registered");
        }
        JobDetail jobDetail = genQuartzJobDetail(scheduleInfo, clz, host, port, username, password);
        Trigger trigger = genQuartzTrigger(jobDetail, scheduleInfo);
        try {
            scheduler.scheduleJob(jobDetail, trigger);
            scheduledJobSet.add(scheduleInfo.getInlongGroupId());
            LOGGER.info("Registered new quartz schedule info for {}", scheduleInfo.getInlongGroupId());
        } catch (SchedulerException e) {
            throw new QuartzScheduleException(e.getMessage());
        }
        return false;
    }
Handle schedule register.
@param scheduleInfo schedule info to register
inlong-manager/manager-schedule/src/main/java/org/apache/inlong/manager/schedule/quartz/QuartzScheduleEngine.java