Node Director
|
Publish application packages. 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 |
Publish application packages.
JobNode sfi.director.application.scripttask.PublishApplication.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.repository.config.DirectoryAccess.get(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.repository.DBObject.getDN(), sfi.director.repository.DN.getRaw(), sfi.director.repository.DBObject.getValue(), sfi.director.repository.DBObject.isMember(), sfi.director.util.Setup.localjobqueue, sfi.director.util.Setup.masterhost, sfi.director.jobs.JobNode.nextTmpFile(), sfi.director.repository.DBConnection.search(), sfi.director.repository.DBConnection.SEARCH_BASEDN, 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.util.Options.setOption(), sfi.director.jobs.JobNode.setSub(), sfi.director.util.Tools.split(), and sfi.director.repository.DBConnection.unwrap().
void sfi.director.application.scripttask.PublishApplication.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.retriever.RemoteFile.connectRetrieve(), sfi.director.retriever.RemoteFile.connectSend(), sfi.director.util.Tools.copy(), sfi.director.util.Setup.fileSeparator, sfi.director.jobs.RemoteJob.getArgument(), sfi.director.retriever.RetrieverManager.getConnection(), sfi.director.jobs.RemoteJob.getOutputFile(), and sfi.director.application.PackageManager.pkgFromFile().
void sfi.director.application.scripttask.PublishApplication.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.