phenote.jobs
Class OntologyUpdateJob
java.lang.Object
org.springframework.scheduling.quartz.QuartzJobBean
phenote.jobs.OntologyUpdateJob
- All Implemented Interfaces:
- org.quartz.Job
public class OntologyUpdateJob
- extends org.springframework.scheduling.quartz.QuartzJobBean
Job that reloads and archives a specified ontology. This job is scheduled via Quartz.
The job is defined in the spring configuration file.
| Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean |
execute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.log4j.Logger LOG
MILLISECONDS_PER_DAY
public static final long MILLISECONDS_PER_DAY
- See Also:
- Constant Field Values
OntologyUpdateJob
public OntologyUpdateJob()
executeInternal
protected void executeInternal(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
- Specified by:
executeInternal in class org.springframework.scheduling.quartz.QuartzJobBean
- Throws:
org.quartz.JobExecutionException
getOntologyName
public java.lang.String getOntologyName()
setOntologyName
public void setOntologyName(java.lang.String ontologyName)
getArchiveDirectory
public java.lang.String getArchiveDirectory()
setArchiveDirectory
public void setArchiveDirectory(java.lang.String archiveDirectory)
getPurgePeriodInDays
public double getPurgePeriodInDays()
setPurgePeriodInDays
public void setPurgePeriodInDays(double purgePeriodInDays)