Node Director
|
Do a Director3 "host_define" for all hosts which have the Director3Managed option set. 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 |
Do a Director3 "host_define" for all hosts which have the Director3Managed option set.
JobNode sfi.director.application.scripttask.D3HostDefine.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.repository.DBObject.getAttribute(), sfi.director.util.Options.getOption(), sfi.director.repository.DBObject.getValue(), sfi.director.repository.DBObject.isMember(), sfi.director.util.Setup.localjobqueue, sfi.director.util.Tools.log(), sfi.director.util.Setup.masterhost, sfi.director.util.Logger.NOTICE, sfi.director.jobs.RemoteJob.setArgument(), sfi.director.jobs.RemoteJob.setHost(), sfi.director.jobs.JobNode.setJob(), and sfi.director.jobs.RemoteJob.setMethod().
void sfi.director.application.scripttask.D3HostDefine.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.util.Tools.execWait(), and sfi.director.jobs.RemoteJob.getArgument().
void sfi.director.application.scripttask.D3HostDefine.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.