Node Director
Public Member Functions | List of all members
sfi.director.cli.list Class Reference

Implements the 'list' director command printing database objects. More...

Inheritance diagram for sfi.director.cli.list:
sfi.director.cli.create 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()
synchronized void run (Hashtable optvals) throws DirectorException
 run the command with the (pre-parsed) options optargs
- Public Member Functions inherited from sfi.director.cli.create
DN getBase ()
void prettyPrint (DBObject dbo, DBConnection db)
synchronized void edit (int mode) throws DirectorException
- 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 ()

Additional Inherited Members

- Static Public Member Functions inherited from sfi.director.cli.create
static DN getBase (Vector darg)
static DN getBase (String dir)
- Static Public Attributes inherited from sfi.director.cli.create
final static int MOD_CREATE = 0
final static int MOD_EDIT = 1
final static int MOD_EVENT = 2
final static int MOD_DELETE = 3
final static int MOD_LISTEVENT = 4
final static int MOD_LIST = 5

Detailed Description

Implements the 'list' director command printing database objects.

Member Function Documentation

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

return option definitions as used by Tools.getOpt()

Reimplemented from sfi.director.cli.create.

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

return a more verbose usage string (aka.

help)

Reimplemented from sfi.director.cli.create.

synchronized void sfi.director.cli.list.run ( Hashtable  optargs) throws DirectorException
virtual

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

Reimplemented from sfi.director.cli.create.

References sfi.director.cli.create.edit(), sfi.director.cli.create.MOD_LIST, and sfi.director.util.Init.setup_cli().

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

return a one-line usage string

Reimplemented from sfi.director.cli.create.


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