|
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.ControllerJob
ControllerJob provides a Job "wrapper" for any Controller object. It uses the parameters to the Job to invoke the specified state of the controller, and includes the controller's outputs in the email notification to the requestor
| Field Summary |
| Fields inherited from class com.jcorporate.expresso.core.job.Job |
IS_NOTIFY_ON_JOB_SUCCESS, log |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ControllerJob()
|
|
| Method Summary | |
String |
getTitle()
REtrieve the job title |
void |
run()
Instantiate the specified Controller, transition to the appropriate state (if given, else call newState("") to transition to default state) then send any outputs generated in the "finish" email. |
| 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 ControllerJob()
| Method Detail |
public String getTitle()
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 | ||||||||||