Node Director
|
Implements the 'shutdown' 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 | 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 'shutdown' director command.
|
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.schedule.Scheduler.isSchedulerRunning(), sfi.director.util.Tools.log(), sfi.director.util.Setup.scheduler, sfi.director.schedule.Scheduler.scheduleShutdown(), sfi.director.util.Init.setup_cli(), and sfi.director.util.Logger.WARNING.
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.