Node Director
|
Every CLI command must implement the CLICommand interface. More...
Public Member Functions | |
abstract void | run (Hashtable optargs) throws DirectorException |
run the command with the (pre-parsed) options optargs | |
abstract String | usage () |
return a one-line usage string | |
abstract String | help () |
return a more verbose usage string (aka. | |
abstract String[] | getOptDefinitions () |
return option definitions as used by Tools.getOpt() | |
void | setOptions (Hashtable opts) |
sets options from a hash as returned by Tools.getOpts(). | |
Options | getOptions () |
Hashtable | getOptionsHash () |
Every CLI command must implement the CLICommand interface.
|
pure virtual |
return option definitions as used by Tools.getOpt()
Implemented in sfi.director.cli.create, sfi.director.cli.queueworker, sfi.director.cli.frinterface, sfi.director.cli.app_dist, sfi.director.cli.agent, sfi.director.cli.app_subscribe, sfi.director.cli.queuestat, sfi.director.cli.copy, sfi.director.cli.serverstatus, sfi.director.cli.storepassword, sfi.director.cli.app_freeze, sfi.director.cli.schema, sfi.director.cli.sysinfo, sfi.director.cli.restoreconfig, sfi.director.cli.modify, sfi.director.cli.test, sfi.director.cli.event, sfi.director.cli.build, sfi.director.cli.help, sfi.director.cli.saveconfig, sfi.director.cli.delete, sfi.director.cli.listevents, sfi.director.cli.mkdepend, sfi.director.cli.app_extract, sfi.director.cli.list, sfi.director.cli.app_import, sfi.director.cli.monitor, sfi.director.cli.replay, sfi.director.cli.passwd, sfi.director.cli.init, sfi.director.cli.shutdown, sfi.director.cli.archive, sfi.director.cli.listconfig, sfi.director.cli.setguipasswd, sfi.director.cli.debug, sfi.director.cli.keyinit, sfi.director.cli.docclean, sfi.director.cli.docu, sfi.director.cli.docrefetch, sfi.director.cli.olinstall, sfi.director.cli.listdirectories, and sfi.director.cli.version.
Referenced by sfi.director.cli.help.help().
Options sfi.director.cli.CLICommand.getOptions | ( | ) |
Referenced by sfi.director.cli.archive.extract(), sfi.director.cli.sysinfo.genCmdline(), sfi.director.cli.archive.getArchiver(), sfi.director.cli.sysinfo.infoImport(), sfi.director.cli.archive.list(), sfi.director.cli.keyinit.run(), sfi.director.cli.archive.run(), sfi.director.cli.sysinfo.run(), and sfi.director.cli.frinterface.run().
Hashtable sfi.director.cli.CLICommand.getOptionsHash | ( | ) |
Referenced by sfi.director.cli.sysinfo.infoImport().
|
pure virtual |
return a more verbose usage string (aka.
help)
Implemented in sfi.director.cli.create, sfi.director.cli.queueworker, sfi.director.cli.frinterface, sfi.director.cli.agent, sfi.director.cli.app_dist, sfi.director.cli.queuestat, sfi.director.cli.serverstatus, sfi.director.cli.app_subscribe, sfi.director.cli.test, sfi.director.cli.help, sfi.director.cli.storepassword, sfi.director.cli.copy, sfi.director.cli.restoreconfig, sfi.director.cli.build, sfi.director.cli.schema, sfi.director.cli.app_freeze, sfi.director.cli.mkdepend, sfi.director.cli.saveconfig, sfi.director.cli.setguipasswd, sfi.director.cli.sysinfo, sfi.director.cli.app_extract, sfi.director.cli.monitor, sfi.director.cli.modify, sfi.director.cli.replay, sfi.director.cli.app_import, sfi.director.cli.passwd, sfi.director.cli.shutdown, sfi.director.cli.event, sfi.director.cli.delete, sfi.director.cli.list, sfi.director.cli.listevents, sfi.director.cli.listconfig, sfi.director.cli.archive, sfi.director.cli.debug, sfi.director.cli.init, sfi.director.cli.docclean, sfi.director.cli.docrefetch, sfi.director.cli.docu, sfi.director.cli.keyinit, sfi.director.cli.olinstall, sfi.director.cli.listdirectories, and sfi.director.cli.version.
Referenced by sfi.director.cli.help.help().
|
pure virtual |
run the command with the (pre-parsed) options optargs
Implemented in sfi.director.cli.frinterface, sfi.director.cli.schema, sfi.director.cli.app_dist, sfi.director.cli.create, sfi.director.cli.app_freeze, sfi.director.cli.queueworker, sfi.director.cli.queuestat, sfi.director.cli.app_subscribe, sfi.director.cli.help, sfi.director.cli.serverstatus, sfi.director.cli.build, sfi.director.cli.passwd, sfi.director.cli.agent, sfi.director.cli.copy, sfi.director.cli.storepassword, sfi.director.cli.sysinfo, sfi.director.cli.restoreconfig, sfi.director.cli.modify, sfi.director.cli.test, sfi.director.cli.event, sfi.director.cli.saveconfig, sfi.director.cli.delete, sfi.director.cli.app_extract, sfi.director.cli.listevents, sfi.director.cli.mkdepend, sfi.director.cli.list, sfi.director.cli.listconfig, sfi.director.cli.app_import, sfi.director.cli.monitor, sfi.director.cli.replay, sfi.director.cli.setguipasswd, sfi.director.cli.init, sfi.director.cli.shutdown, sfi.director.cli.archive, sfi.director.cli.debug, sfi.director.cli.keyinit, sfi.director.cli.docclean, sfi.director.cli.docu, sfi.director.cli.docrefetch, sfi.director.cli.olinstall, sfi.director.cli.listdirectories, and sfi.director.cli.version.
void sfi.director.cli.CLICommand.setOptions | ( | Hashtable | opts | ) |
sets options from a hash as returned by Tools.getOpts().
|
pure virtual |
return a one-line usage string
Implemented in sfi.director.cli.create, sfi.director.cli.queueworker, sfi.director.cli.frinterface, sfi.director.cli.agent, sfi.director.cli.app_dist, sfi.director.cli.serverstatus, sfi.director.cli.queuestat, sfi.director.cli.test, sfi.director.cli.app_subscribe, sfi.director.cli.help, sfi.director.cli.copy, sfi.director.cli.storepassword, sfi.director.cli.build, sfi.director.cli.restoreconfig, sfi.director.cli.app_freeze, sfi.director.cli.schema, sfi.director.cli.mkdepend, sfi.director.cli.saveconfig, sfi.director.cli.sysinfo, sfi.director.cli.app_extract, sfi.director.cli.monitor, sfi.director.cli.modify, sfi.director.cli.replay, sfi.director.cli.app_import, sfi.director.cli.passwd, sfi.director.cli.shutdown, sfi.director.cli.setguipasswd, sfi.director.cli.event, sfi.director.cli.listevents, sfi.director.cli.delete, sfi.director.cli.list, sfi.director.cli.listconfig, sfi.director.cli.archive, sfi.director.cli.debug, sfi.director.cli.init, sfi.director.cli.docclean, sfi.director.cli.docrefetch, sfi.director.cli.docu, sfi.director.cli.keyinit, sfi.director.cli.olinstall, sfi.director.cli.version, and sfi.director.cli.listdirectories.
Referenced by sfi.director.cli.help.help().