| com.jcorporate.expresso.core.job.Job com.jcorporate.expresso.services.job.ControllerJob
ControllerJob | public class ControllerJob extends Job (Code) | | 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
author: Michael Nash |
Method Summary | |
public String | getTitle() | public 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. |
getTitle | public String getTitle()(Code) | | REtrieve the job title
java.lang.String |
run | public void run()(Code) | | 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 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)
|
|
|