public class PreRenderingJob extends ScheduledJob implements org.quartz.InterruptableJob, org.springframework.web.context.ServletConfigAware
| Constructor and Description |
|---|
PreRenderingJob() |
| Modifier and Type | Method and Description |
|---|---|
org.quartz.JobDetail |
createJobDetails() |
void |
execute(org.quartz.JobExecutionContext context) |
String |
getConfigFile() |
List<String> |
getPrerenderedImages(String datasetId) |
boolean |
hasPrerenderedImage(String fileName) |
boolean |
hasPrerenderedImage(String datasetId,
String chartQualifier) |
void |
interrupt() |
void |
setConfigFile(String configFile) |
void |
setServletConfig(javax.servlet.ServletConfig servletConfig) |
void |
writePrerenderedGraphToOutputStream(String filename,
OutputStream outputStream) |
void |
writePrerenderedGraphToOutputStream(String datasetId,
String qualifier,
OutputStream outputStream) |
createTrigger, getCronExpression, getJobDescription, getJobName, getTriggerName, isEnabled, isTriggerAtStartup, setCronExpression, setEnabled, setJobDescription, setJobName, setTriggerAtStartup, setTriggerNamepublic org.quartz.JobDetail createJobDetails()
createJobDetails in class ScheduledJobpublic void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
execute in interface org.quartz.Joborg.quartz.JobExecutionExceptionpublic void interrupt()
throws org.quartz.UnableToInterruptJobException
interrupt in interface org.quartz.InterruptableJoborg.quartz.UnableToInterruptJobExceptionpublic void setServletConfig(javax.servlet.ServletConfig servletConfig)
setServletConfig in interface org.springframework.web.context.ServletConfigAwarepublic String getConfigFile()
public void setConfigFile(String configFile)
public boolean hasPrerenderedImage(String fileName)
public void writePrerenderedGraphToOutputStream(String filename, OutputStream outputStream)
public void writePrerenderedGraphToOutputStream(String datasetId, String qualifier, OutputStream outputStream)
Copyright © 2013–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.