Node Director
|
Subscribe a host to all applications which are already installed on the host but the host is not subscribed to yet. 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 |
Subscribe a host to all applications which are already installed on the host but the host is not subscribed to yet.
JobNode sfi.director.application.scripttask.SubscribeApps.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.getValue(), sfi.director.repository.DBObject.isMember(), sfi.director.util.Setup.localjobqueue, sfi.director.util.Setup.masterhost, 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.SubscribeApps.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.repository.config.DirectoryAccess.get(), sfi.director.jobs.RemoteJob.getArgument(), sfi.director.repository.config.DirectoryAccess.getConfig(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.application.HostPackages.getRemove(), sfi.director.repository.DBObject.getValue(), and sfi.director.repository.config.DirectoryAccess.replace().
void sfi.director.application.scripttask.SubscribeApps.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.