public class HarvesterInitializer extends Object implements javax.servlet.Servlet
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_NAME |
static String |
JOB_NAME |
protected static org.apache.commons.logging.Log |
log |
static List<String> |
SUPPORTED_PLAN_TYPES |
static String |
TRIGGER_NAME |
| Constructor and Description |
|---|
HarvesterInitializer() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canProcessPlantype(String type) |
void |
destroy() |
static File |
getDownloadFolder() |
static String |
getNextExecutionTime() |
static org.quartz.Scheduler |
getScheduler() |
javax.servlet.ServletConfig |
getServletConfig() |
String |
getServletInfo() |
static org.quartz.Trigger |
getTrigger() |
void |
init(javax.servlet.ServletConfig sc) |
static void |
initPlantypes() |
void |
service(javax.servlet.ServletRequest sr,
javax.servlet.ServletResponse sr1) |
static void |
setDownloadFolder(File downloadFolder) |
static void |
updateTrigger(String cronexpression) |
protected static final org.apache.commons.logging.Log log
public static final String JOB_NAME
public static final String TRIGGER_NAME
public static final String GROUP_NAME
public void init(javax.servlet.ServletConfig sc)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletjavax.servlet.ServletExceptionpublic static void initPlantypes()
public javax.servlet.ServletConfig getServletConfig()
getServletConfig in interface javax.servlet.Servletpublic void service(javax.servlet.ServletRequest sr,
javax.servlet.ServletResponse sr1)
throws javax.servlet.ServletException,
IOException
service in interface javax.servlet.Servletjavax.servlet.ServletExceptionIOExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.Servletpublic void destroy()
destroy in interface javax.servlet.Servletpublic static void setDownloadFolder(File downloadFolder)
public static File getDownloadFolder()
public static org.quartz.Scheduler getScheduler()
public static org.quartz.Trigger getTrigger()
throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic static void updateTrigger(String cronexpression) throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic static String getNextExecutionTime() throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic static boolean canProcessPlantype(String type)
Copyright © 2018. All rights reserved.