Node Director
|
Fire event using the same event environment but only when job becomes runnable. More...
Public Member Functions | |
JobNode | create (EventEnvironment ev) throws DirectorException |
given an EventEnvironment create a Workflow (JobNode) doing whatever this ScriptTask is intended for | |
void | setJob (RemoteJob job) |
void | exec () throws DirectorException |
Fire event using the same event environment but only when job becomes runnable.
JobNode sfi.director.application.scripttask.ChainEvent.create | ( | EventEnvironment | ev | ) | throws DirectorException |
given an EventEnvironment create a Workflow (JobNode) doing whatever this ScriptTask is intended for
DirectorException | class refuses to be responsible for this event |
ev | the environment of the event that lead to calling create() |
Implements sfi.director.application.ScriptTask.
References sfi.director.jobs.RemoteJob.commit(), sfi.director.jobs.Job.commit(), sfi.director.retriever.RetrieverManager.connectSend(), sfi.director.util.Tools.copyObject(), sfi.director.util.Tools.debug(), sfi.director.util.Options.getOption(), sfi.director.util.Options.getOptions(), sfi.director.util.Setup.localjobqueue, sfi.director.util.Setup.masterhost, sfi.director.jobs.JobNode.nextTmpFile(), sfi.director.jobs.RemoteJob.setArgument(), sfi.director.jobs.RemoteJob.setHost(), sfi.director.jobs.RemoteJob.setInputFile(), sfi.director.jobs.JobNode.setJob(), and sfi.director.jobs.RemoteJob.setMethod().
void sfi.director.application.scripttask.ChainEvent.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.application.objevents.Workflow.doEvent(), sfi.director.application.objevents.Workflow.flush(), sfi.director.jobs.RemoteJob.getArgument(), sfi.director.jobs.RemoteJob.getInputStream(), sfi.director.application.objevents.Workflow.getMaster(), sfi.director.util.Logger.INFO, sfi.director.util.Tools.log(), sfi.director.util.Tools.readEntireText(), sfi.director.application.objevents.Workflow.setBackChain(), and sfi.director.jobs.Job.Sleep().
void sfi.director.application.scripttask.ChainEvent.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.