Node Director
Public Member Functions | Static Public Member Functions | List of all members
sfi.director.cli.test Class Reference
Inheritance diagram for sfi.director.cli.test:
sfi.director.cli.CLICommand

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 Public Member Functions

static Key readkey (String keyFile, String passwd) throws Exception

Member Function Documentation

String [] sfi.director.cli.test.getOptDefinitions ( )
virtual

return option definitions as used by Tools.getOpt()

Implements sfi.director.cli.CLICommand.

String sfi.director.cli.test.help ( )
virtual

return a more verbose usage string (aka.

help)

Implements sfi.director.cli.CLICommand.

static Key sfi.director.cli.test.readkey ( String  keyFile,
String  passwd 
) throws Exception
static
void sfi.director.cli.test.run ( Hashtable  optargs) throws DirectorException
virtual

run the command with the (pre-parsed) options optargs

Implements sfi.director.cli.CLICommand.

References com.graeff.pwencode.Base64.decode(), sfi.director.cli.test.readkey(), and sfi.director.util.Init.setup().

String sfi.director.cli.test.usage ( )
virtual

return a one-line usage string

Implements sfi.director.cli.CLICommand.


The documentation for this class was generated from the following file: