Node Director
|
Public Member Functions | |
DirectoryServiceMerger () | |
DirectoryServiceMerger (DBSet initial) throws DirectorException | |
DirectoryServiceMerger (String dump) throws DirectorException | |
Create a DirectoryServiceMerger object from a String dumped by mkdbfile() and targetJob(). | |
DirectoryServiceMerger (DBObject domain) throws DirectorException | |
void | reset (DBSet dbs) throws DirectorException |
synchronized void | select (Enumeration selectList) |
synchronized void | make (Enumeration list) |
synchronized void | makeByFilter (String filter) throws DirectorException |
Enumeration | getSelected () |
synchronized void | walk () throws DirectorException |
void | setControllingJob (RemoteJob job) |
void | setIsTarget () |
synchronized void | setTargetEvents (Enumeration events, DBObject infoDbo, DBConnection infoDB) |
Set the (optional) list of events to be executed on each target hosts after successfully executing the target part of the domain builder rules. | |
JobNode | targetJob (Enumeration targets, String title) throws DirectorException |
Execute the target part of the domain builder ruleset (the part carrying the "OnTarget" option) on each target machine. | |
void | restore (String dump) throws DirectorException |
Restore rules and already processed data from a String dumped by mkdbfile() and targetJob(). | |
DBSet | getDBSet () |
sfi.director.repository.DirectoryServiceMerger.DirectoryServiceMerger | ( | ) |
sfi.director.repository.DirectoryServiceMerger.DirectoryServiceMerger | ( | DBSet | initial | ) | throws DirectorException |
sfi.director.repository.DirectoryServiceMerger.DirectoryServiceMerger | ( | String | dump | ) | throws DirectorException |
Create a DirectoryServiceMerger object from a String dumped by mkdbfile() and targetJob().
References sfi.director.repository.DirectoryServiceMerger.restore().
sfi.director.repository.DirectoryServiceMerger.DirectoryServiceMerger | ( | DBObject | domain | ) | throws DirectorException |
References sfi.director.repository.DBSet.add(), sfi.director.util.Setup.dsrulesdb, sfi.director.repository.DirectoryServiceMerger.reset(), sfi.director.repository.DBConnection.search(), sfi.director.repository.DBConnection.SEARCH_BASEDN, sfi.director.util.Options.setOption(), and sfi.director.repository.DBConnection.unwrap().
DBSet sfi.director.repository.DirectoryServiceMerger.getDBSet | ( | ) |
Enumeration sfi.director.repository.DirectoryServiceMerger.getSelected | ( | ) |
synchronized void sfi.director.repository.DirectoryServiceMerger.make | ( | Enumeration | list | ) |
synchronized void sfi.director.repository.DirectoryServiceMerger.makeByFilter | ( | String | filter | ) | throws DirectorException |
void sfi.director.repository.DirectoryServiceMerger.reset | ( | DBSet | dbs | ) | throws DirectorException |
void sfi.director.repository.DirectoryServiceMerger.restore | ( | String | dump | ) | throws DirectorException |
Restore rules and already processed data from a String dumped by mkdbfile() and targetJob().
References sfi.director.repository.DBSet.add(), sfi.director.repository.DBSet.elements(), and sfi.director.repository.DBObject.setDN().
Referenced by sfi.director.repository.DirectoryServiceMerger.DirectoryServiceMerger().
synchronized void sfi.director.repository.DirectoryServiceMerger.select | ( | Enumeration | selectList | ) |
void sfi.director.repository.DirectoryServiceMerger.setControllingJob | ( | RemoteJob | job | ) |
void sfi.director.repository.DirectoryServiceMerger.setIsTarget | ( | ) |
Referenced by sfi.director.application.executor.DSMerger.exec().
synchronized void sfi.director.repository.DirectoryServiceMerger.setTargetEvents | ( | Enumeration | events, |
DBObject | infoDbo, | ||
DBConnection | infoDB | ||
) |
Set the (optional) list of events to be executed on each target hosts after successfully executing the target part of the domain builder rules.
Referenced by sfi.director.application.scripttask.DomainBuild.create().
JobNode sfi.director.repository.DirectoryServiceMerger.targetJob | ( | Enumeration | targets, |
String | title | ||
) | throws DirectorException |
Execute the target part of the domain builder ruleset (the part carrying the "OnTarget" option) on each target machine.
Rather, setup the necessary target jobs and put them into the job queue.
References sfi.director.jobs.RemoteJob.commit(), sfi.director.jobs.Job.commit(), sfi.director.util.Tools.debug(), sfi.director.repository.DBSet.elements(), sfi.director.util.Tools.isHostReady(), sfi.director.util.Setup.localjobqueue, sfi.director.jobs.JobNode.nextTmpFile(), 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(), and sfi.director.jobs.JobNode.setSub().
Referenced by sfi.director.application.scripttask.DomainBuild.create().
synchronized void sfi.director.repository.DirectoryServiceMerger.walk | ( | ) | throws DirectorException |