| com.jcorporate.expresso.core.job.Job com.jcorporate.expresso.services.job.TestJob
TestJob | public class TestJob extends Job (Code) | | 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
author: Michael Nash version: $Revision: 1.14 $ $Date: 2004/11/17 20:48:18 $ |
Constructor Summary | |
public | TestJob() |
getTitle | public String getTitle()(Code) | | java.lang.String The Title of the controller |
run | public void run()(Code) | | Receive the request and send the emails
|
Methods inherited from com.jcorporate.expresso.core.job.Job | protected void addFunction(String name, String descrip)(Code)(Java Doc) public void addParamValidValues(String paramCode, Vector paramValidValues)(Code)(Java Doc) protected void addParameter(String paramCode, String paramDescrip)(Code)(Java Doc) protected void finish(String msg)(Code)(Java Doc) protected void finish(String msg, Throwable t)(Code)(Java Doc) public CrontabEntry getCronAlarmEntry()(Code)(Java Doc) protected String getDataContext() throws DBException(Code)(Java Doc) public Hashtable getFunctions()(Code)(Java Doc) public String getJobNumber()(Code)(Java Doc) protected String getJobParameter(String paramCode) throws DBException(Code)(Java Doc) protected List getJobParameterList() throws DBException(Code)(Java Doc) public JobQueue getJobQueueEntry() throws DBException(Code)(Java Doc) public Vector getParamValidValues(String paramCode)(Code)(Java Doc) public String getParameterDescription(String paramName)(Code)(Java Doc) public Hashtable getParameterNamesAndDescriptions()(Code)(Java Doc) protected String getSchema(String schemaClass) throws ServerException(Code)(Java Doc) protected String getString(String stringCode)(Code)(Java Doc) protected String getString(String stringCode, String arg1)(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2)(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3)(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3, String arg4)(Code)(Java Doc) protected String getString(String stringCode, Object[] args)(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public String getUser()(Code)(Java Doc) protected boolean hasParameters() throws DBException(Code)(Java Doc) public static synchronized Job instantiate(String className) throws ServerException(Code)(Java Doc) public boolean multiThreaded()(Code)(Java Doc) public void run()(Code)(Java Doc) protected synchronized void sendMail(String subject, String myRecipients, Vector mailMessage)(Code)(Java Doc) public void setCronAlarmEntry(CrontabEntry obj)(Code)(Java Doc) public synchronized void setQueue(JobQueue newJobQueue)(Code)(Java Doc) protected void setSchema(String schemaClass)(Code)(Java Doc) public void setUseCron(boolean useCron)(Code)(Java Doc) public boolean useCron()(Code)(Java Doc)
|
|
|