Node Director
|
Run a shell command on a destination host. More...
Public Member Functions | |
JobNode | create (EventEnvironment ev) throws DirectorException |
given an EventEnvironment create a Workflow (JobNode) doing whatever this ScriptTask is intended for |
Run a shell command on a destination host.
JobNode sfi.director.application.scripttask.Shell.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.repository.DBObject.clone(), sfi.director.jobs.RemoteJob.commit(), sfi.director.jobs.Job.commit(), sfi.director.util.Tools.debug(), sfi.director.repository.DBObject.getAttribute(), sfi.director.jobs.Job.getDescr(), sfi.director.jobs.Job.getName(), 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(), sfi.director.jobs.RemoteJob.setMethod(), sfi.director.jobs.RemoteJob.setOutputFile(), sfi.director.jobs.Job.setScheduleOption(), and sfi.director.util.Tools.split().