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 Attributes | |
static boolean | subscribe = true |
Implements the 'app_subscribe' director command subscribing hosts/classes to applications.
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
return a more verbose usage string (aka.
help)
Implements sfi.director.cli.CLICommand.
References sfi.director.cli.app_subscribe.subscribe.
|
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.doEvent(), 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.config.Directory.getDirectory(), sfi.director.application.objevents.Workflow.getId(), sfi.director.util.Logger.INFO, sfi.director.util.Tools.log(), sfi.director.util.Logger.NOTICE, sfi.director.util.Setup.program_cmdline, sfi.director.repository.DBObject.removeAttribute(), sfi.director.repository.config.DirectoryAccess.replace(), sfi.director.util.Init.setup_cli(), sfi.director.util.Tools.split(), sfi.director.cli.app_subscribe.subscribe, sfi.director.cli.sfidirector.trackJob(), and sfi.director.application.objevents.EventEnvironment.WF_ALTER.
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.
References sfi.director.cli.app_subscribe.subscribe.
|
staticprotected |