public abstract class AbstractReportSchedulable extends AbstractStaticSchedulable
Schedulable
for pilotage report.AbstractStaticSchedulable.SchedulableParameterParser
Modifier and Type | Field and Description |
---|---|
protected CurrentUserProvider |
_currentUserProvider
The current user provider
|
protected ReportExtensionPoint |
_reportEP
The report extension point
|
static String |
JOBDATAMAP_EXTENSION_ID_KEY
The key for the extension ID
|
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _schedulableParameterTypeExtensionPoint, _smanager
Constructor and Description |
---|
AbstractReportSchedulable() |
Modifier and Type | Method and Description |
---|---|
void |
execute(JobExecutionContext context)
The action to perform when a trigger is fired.
|
protected abstract Map<String,String> |
getReportParameters(JobDataMap jobDataMap)
Get the report parameters from the schedulable parameters
|
protected abstract PilotageReport.PilotageReportTarget |
getTarget()
The target of the report.
|
void |
service(ServiceManager manager) |
acceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, isPrivate, setPluginInfo
getLogger, setLogger
public static final String JOBDATAMAP_EXTENSION_ID_KEY
protected ReportExtensionPoint _reportEP
protected CurrentUserProvider _currentUserProvider
public AbstractReportSchedulable()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractStaticSchedulable
ServiceException
public void execute(JobExecutionContext context) throws Exception
Schedulable
execute
in interface Schedulable
execute
in class AbstractStaticSchedulable
context
- the contextException
- if an error occuredprotected abstract PilotageReport.PilotageReportTarget getTarget()
protected abstract Map<String,String> getReportParameters(JobDataMap jobDataMap)
jobDataMap
- The schedulable parameters