Class SampleReportJobDelegate
java.lang.Object
org.apache.syncope.core.provisioning.java.job.report.AbstractReportJobDelegate
org.apache.syncope.fit.core.reference.SampleReportJobDelegate
- All Implemented Interfaces:
ReportJobDelegate
-
Field Summary
Fields inherited from class org.apache.syncope.core.provisioning.java.job.report.AbstractReportJobDelegate
auditManager, conf, entityFactory, LOG, notificationManager, publisher, report, reportDAO, securityProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
doExecute
(boolean dryRun, OutputStream os, String executor, 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, setStatus
-
Constructor Details
-
SampleReportJobDelegate
public SampleReportJobDelegate()
-
-
Method Details
-
setConf
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, JobExecutionContext context) throws 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
- job execution context, can be used to pass parameters to the job- Returns:
- the report execution status to be set
- Throws:
JobExecutionException
- if anything goes wrong
-