Node Director
|
Given an arbitrary input object search for all domains depending on this object and (re-)build them. 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 |
Given an arbitrary input object search for all domains depending on this object and (re-)build them.
JobNode sfi.director.application.scripttask.BuildDependingDomains.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.jobs.Job.getDescr(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.repository.DBObject.getDN(), sfi.director.jobs.Job.getName(), 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.BuildDependingDomains.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.repository.DBSet.add(), sfi.director.application.objevents.EventEnvironment.add(), sfi.director.util.Tools.debug(), sfi.director.application.objevents.Workflow.doEvent(), sfi.director.util.Logger.ERR, sfi.director.application.objevents.Workflow.flush(), sfi.director.jobs.RemoteJob.getArgument(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.config.DirectoryAccess.getDBConnection(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.repository.DBObject.getDN(), sfi.director.util.Options.getOption(), sfi.director.repository.DN.getRaw(), sfi.director.repository.DirectoryServiceMerger.getSelected(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Logger.INFO, sfi.director.util.Tools.log(), sfi.director.repository.DirectoryServiceMerger.makeByFilter(), sfi.director.util.Logger.NOTICE, sfi.director.repository.DBConnection.search(), sfi.director.repository.config.DirectoryAccess.search(), sfi.director.repository.DBConnection.SEARCH_BASEDN, sfi.director.application.objevents.Workflow.setDescr(), sfi.director.util.Options.setOption(), and sfi.director.repository.DBConnection.unwrap().
void sfi.director.application.scripttask.BuildDependingDomains.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.