Class DefaultReportJobDelegate

  • All Implemented Interfaces:
    org.apache.syncope.core.provisioning.api.job.JobDelegate, org.apache.syncope.core.provisioning.api.job.report.ReportJobDelegate

    public class DefaultReportJobDelegate
    extends Object
    implements org.apache.syncope.core.provisioning.api.job.report.ReportJobDelegate
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
      • reportDAO

        protected final org.apache.syncope.core.persistence.api.dao.ReportDAO reportDAO
      • reportExecDAO

        protected final org.apache.syncope.core.persistence.api.dao.ReportExecDAO reportExecDAO
      • entityFactory

        protected final org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory
      • interrupt

        protected boolean interrupt
      • interrupted

        protected boolean interrupted
    • Constructor Detail

      • DefaultReportJobDelegate

        public DefaultReportJobDelegate​(org.apache.syncope.core.persistence.api.dao.ReportDAO reportDAO,
                                        org.apache.syncope.core.persistence.api.dao.ReportExecDAO reportExecDAO,
                                        org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory)
    • Method Detail

      • currentStatus

        public String currentStatus()
        Specified by:
        currentStatus in interface org.apache.syncope.core.provisioning.api.job.JobDelegate
      • interrupt

        public void interrupt()
        Specified by:
        interrupt in interface org.apache.syncope.core.provisioning.api.job.JobDelegate
      • isInterrupted

        public boolean isInterrupted()
        Specified by:
        isInterrupted in interface org.apache.syncope.core.provisioning.api.job.JobDelegate
      • execute

        @Transactional
        public void execute​(String reportKey,
                            String executor)
                     throws org.quartz.JobExecutionException
        Specified by:
        execute in interface org.apache.syncope.core.provisioning.api.job.report.ReportJobDelegate
        Throws:
        org.quartz.JobExecutionException