Class SampleReportJobDelegate
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.report.AbstractReportJobDelegate
-
- org.apache.syncope.fit.core.reference.SampleReportJobDelegate
-
- All Implemented Interfaces:
JobDelegate,ReportJobDelegate
public class SampleReportJobDelegate extends AbstractReportJobDelegate
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.provisioning.java.job.report.AbstractReportJobDelegate
auditManager, conf, entityFactory, interrupt, interrupted, LOG, notificationManager, publisher, report, reportDAO, reportDataBinder, securityProperties
-
Fields inherited from interface org.apache.syncope.core.provisioning.api.job.JobDelegate
OPERATION_ID
-
-
Constructor Summary
Constructors Constructor Description SampleReportJobDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdoExecute(boolean dryRun, OutputStream os, String executor, org.quartz.JobExecutionContext context)The actual execution, delegated to child classes.voidsetConf(ReportConf conf)Optional configuration.-
Methods inherited from class org.apache.syncope.core.provisioning.java.job.report.AbstractReportJobDelegate
execute, interrupt, isInterrupted, setStatus
-
-
-
-
Method Detail
-
setConf
public void setConf(ReportConf conf)
Description copied from interface:ReportJobDelegateOptional configuration.- Specified by:
setConfin interfaceReportJobDelegate- Overrides:
setConfin classAbstractReportJobDelegate- Parameters:
conf- configuration
-
doExecute
protected String doExecute(boolean dryRun, OutputStream os, String executor, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
Description copied from class:AbstractReportJobDelegateThe actual execution, delegated to child classes.- Specified by:
doExecutein classAbstractReportJobDelegate- Parameters:
dryRun- whether to actually touch the dataos- where to stream report execution's dataexecutor- the user executing this reportcontext- Quartz' execution context, can be used to pass parameters to the job- Returns:
- the report execution status to be set
- Throws:
org.quartz.JobExecutionException- if anything goes wrong
-
-