|
Node Director
|
Implements the 'app_subscribe' director command subscribing hosts/classes to applications. 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 | 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 () |
Static Protected Member Functions | |
| static void | checkApp (String name) throws DirectorException |
Implements the 'app_subscribe' director command subscribing hosts/classes to applications.
|
staticprotected |
References sfi.director.repository.config.DirectoryAccess.get(), sfi.director.repository.config.DirectoryAccess.getDBConnection(), sfi.director.repository.config.Directory.getDirectory(), and sfi.director.repository.DBConnection.search().
Referenced by sfi.director.cli.app_subscribe.run(), and sfi.director.cli.app_dist.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.cli.app_dist.checkApp(), sfi.director.application.objevents.Workflow.flush(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.application.objevents.Workflow.getId(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Setup.program_cmdline, sfi.director.repository.config.DirectoryAccess.search(), 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.
1.8.1.2