Node Director
|
Implements the 'serverstatus' director command. 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 | printStatus () |
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 'serverstatus' director command.
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
void sfi.director.cli.serverstatus.printStatus | ( | ) |
|
virtual |
run the command with the (pre-parsed) options optargs
Implements sfi.director.cli.CLICommand.
References sfi.director.util.Logger.getLogger(), sfi.director.schedule.Scheduler.getRunningSchedulerHost(), sfi.director.cli.CLILogger.getVerbose(), sfi.director.util.Tools.log(), sfi.director.util.Setup.logger, sfi.director.util.Logger.NOTICE, sfi.director.cli.serverstatus.printStatus(), sfi.director.util.Setup.scheduler, sfi.director.cli.CLILogger.setSyslog(), and sfi.director.util.Init.setup_cli().
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.