java.lang.Object
java.lang.Thread
com.opencms.core.CmsCronScheduleJobStarter
- All Implemented Interfaces:
- java.lang.Runnable
- class CmsCronScheduleJobStarter
- extends java.lang.Thread
This class starts all needed jobs for the current time.
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
|
Method Summary |
void |
run()
The run method of this thread tests all entries, if they should be started. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
m_table
private CmsCronTable m_table
- The crontable to use
m_thisRun
private java.util.Calendar m_thisRun
- The time of this run
m_lastRun
private java.util.Calendar m_lastRun
- The time of the last run
m_opencms
private A_OpenCms m_opencms
- OpenCms to get access to the system
CmsCronScheduleJobStarter
CmsCronScheduleJobStarter(A_OpenCms opencms,
CmsCronTable table,
java.util.Calendar thisRun,
java.util.Calendar lastRun)
- Creates a new instance of CmsCronScheduleJobStarter.
run
public void run()
- The run method of this thread tests all entries, if they should be started.
If so it tries to start the entry via A_OpenCms.startScheduleJob()