|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
com.jcorporate.expresso.core.registry.ExpressoThread
com.jcorporate.expresso.core.job.Job
com.jcorporate.expresso.services.job.TestJob
TestJob provides a "dummy" background job for testing the job queue, timerserver, and relating functions. A test job simply waits for a while, then sends a confirmation message back to the user that requested the job
| Field Summary |
| Fields inherited from class com.jcorporate.expresso.core.job.Job |
IS_NOTIFY_ON_JOB_SUCCESS |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
TestJob()
|
|
| Method Summary | |
String |
getTitle()
Retrieve the title of the job. |
void |
run()
Receive the request and send the emails |
| Methods inherited from class com.jcorporate.expresso.core.job.Job |
addFunction, addParameter, addParamValidValues, finish, finish, getCronAlarmEntry, getDataContext, getFunctions, getJobNumber, getJobParameter, getJobParameterList, getJobQueueEntry, getParameterDescription, getParameterNamesAndDescriptions, getParamValidValues, getSchema, getString, getString, getString, getString, getString, getString, getUser, hasParameters, instantiate, multiThreaded, sendMail, setCronAlarmEntry, setQueue, setSchema, setUseCron, useCron |
| Methods inherited from class com.jcorporate.expresso.core.registry.ExpressoThread |
getThreadContext |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestJob()
| Method Detail |
public String getTitle()
Job
getTitle in class Jobpublic void run()
run in interface Runnablerun in class Job
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||