use of org.apache.syncope.core.provisioning.java.job.report.ReportJob in project syncope by apache.
the class JobManagerImpl method register.
@Override
public void register(final Report report, final Date startAt, final long interruptMaxRetries) throws SchedulerException {
ReportJob job = createSpringBean(ReportJob.class);
job.setReportKey(report.getKey());
Map<String, Object> jobMap = new HashMap<>();
jobMap.put(JobManager.DOMAIN_KEY, AuthContextUtils.getDomain());
registerJob(JobNamer.getJobKey(report).getName(), job, report.getCronExpression(), startAt, jobMap);
}