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 String
doExecute(boolean dryRun, OutputStream os, String executor, org.quartz.JobExecutionContext context)
The actual execution, delegated to child classes.void
setConf(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:ReportJobDelegate
Optional configuration.- Specified by:
setConf
in interfaceReportJobDelegate
- Overrides:
setConf
in 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:AbstractReportJobDelegate
The actual execution, delegated to child classes.- Specified by:
doExecute
in 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
-
-