Node Director
|
Scan a repository for DirectorPackage applications and put them under Director control. 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 |
Scan a repository for DirectorPackage applications and put them under Director control.
Freeze still unfrozen applications if the user demands us to.
JobNode sfi.director.application.scripttask.DoAppImport.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.JobNode.nextTmpFile(), sfi.director.jobs.RemoteJob.setArgument(), sfi.director.jobs.RemoteJob.setHost(), sfi.director.jobs.RemoteJob.setInputFile(), sfi.director.jobs.JobNode.setJob(), sfi.director.jobs.RemoteJob.setMethod(), sfi.director.jobs.JobNode.setNext(), sfi.director.jobs.RemoteJob.setOutputFile(), and sfi.director.jobs.JobNode.setSub().
void sfi.director.application.scripttask.DoAppImport.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.jobs.RemoteJob.getArgument().
void sfi.director.application.scripttask.DoAppImport.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.