Node Director
|
Implements the 'restoreconfig' director command restoring package configuration from a file. More...
Public Member Functions | |
String | usage () |
returns usage string. | |
String | help () |
return a more verbose usage string (aka. | |
String[] | getOptDefinitions () |
return option definitions as used by Tools.getOpt() | |
synchronized 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 'restoreconfig' director command restoring package configuration from a file.
|
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.application.config.RestoreConfigEnvironment.archive(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.config.DirectoryAccess.getConfig(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.application.config.RestoreConfigEnvironment.options(), and sfi.director.application.config.RestoreConfigEnvironment.restore().
|
virtual |
returns usage string.
Implements sfi.director.cli.CLICommand.