Node Director
|
Implements the 'build' director command building DS domains. More...
Public Member Functions | |
String | usage () |
return a one-line usage string | |
String | help () |
return a more verbose usage string (aka. | |
String[] | getOptDefinitions () |
return option definitions as used by Tools.getOpt() | |
void | buildAll () throws DirectorException |
void | run (Hashtable optvals) throws DirectorException |
run the command with the (pre-parsed) options optargs | |
Public Member Functions inherited from sfi.director.cli.CLICommand | |
void | setOptions (Hashtable opts) |
sets options from a hash as returned by Tools.getOpts(). | |
Options | getOptions () |
Hashtable | getOptionsHash () |
Implements the 'build' director command building DS domains.
void sfi.director.cli.build.buildAll | ( | ) | throws DirectorException |
References sfi.director.application.objevents.EventEnvironment.add(), sfi.director.application.objevents.Workflow.doEvent(), sfi.director.application.objevents.Workflow.flush(), sfi.director.repository.config.DirectoryAccess.getDBConnection(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Tools.log(), sfi.director.util.Setup.program_cmdline, sfi.director.repository.config.DirectoryAccess.search(), sfi.director.repository.DBConnection.unwrap(), and sfi.director.util.Logger.WARNING.
Referenced by sfi.director.cli.build.run().
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
|
virtual |
run the command with the (pre-parsed) options optargs
Implements sfi.director.cli.CLICommand.
References sfi.director.repository.DBSet.add(), sfi.director.cli.build.buildAll(), sfi.director.application.objevents.Workflow.doEvent(), sfi.director.repository.DBSet.elements(), sfi.director.application.objevents.Workflow.flush(), sfi.director.repository.config.DirectoryAccess.get(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.config.DirectoryAccess.getDBConnection(), sfi.director.repository.DirectoryServiceMerger.getDBSet(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.repository.DBObject.getDN(), sfi.director.application.objevents.Workflow.getId(), sfi.director.repository.DN.getRaw(), sfi.director.util.Setup.program_cmdline, sfi.director.repository.DBConnection.search(), sfi.director.repository.DBConnection.SEARCH_BASEDN, sfi.director.util.Options.setOption(), sfi.director.util.Init.setup_cli(), sfi.director.cli.sfidirector.trackJob(), and sfi.director.repository.DBConnection.unwrap().
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.