Node Director
|
Read a file line by line and store it as a DBChoice object. 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 |
Read a file line by line and store it as a DBChoice object.
JobNode sfi.director.application.scripttask.StoreAsDBChoice.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.util.Tools.debug(), sfi.director.util.Tools.expand(), sfi.director.util.Options.getOption(), sfi.director.util.Options.getOptions(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Setup.localjobqueue, sfi.director.util.Setup.masterhost, 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.StoreAsDBChoice.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.repository.DBObject.addUniqueAttribute(), sfi.director.retriever.RemoteFile.connectRetrieve(), sfi.director.jobs.RemoteJob.getArgument(), sfi.director.repository.DBObject.getAttribute(), sfi.director.retriever.RetrieverManager.getConnection(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.jobs.RemoteJob.getInputFile(), sfi.director.util.Tools.log(), sfi.director.util.Logger.NOTICE, sfi.director.repository.config.DirectoryAccess.remove(), sfi.director.repository.config.DirectoryAccess.replace(), and sfi.director.repository.DBObject.setDN().
void sfi.director.application.scripttask.StoreAsDBChoice.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.