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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
doExecute
(OutputStream os, 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(OutputStream os, JobExecutionContext context) throws JobExecutionException Description copied from class:AbstractReportJobDelegate
The actual execution, delegated to child classes.- Specified by:
doExecute
in classAbstractReportJobDelegate
- Parameters:
os
- where to stream report execution's datacontext
- 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
-