Logo Search packages:      
Sourcecode: henplus version File versions  Download package

henplus::commands::AliasCommand Class Reference

Inheritance diagram for henplus::commands::AliasCommand:

henplus::AbstractCommand henplus::Command

List of all members.

Detailed Description

A Command that handles Aliases.

Definition at line 32 of file AliasCommand.java.

Public Member Functions

 AliasCommand (HenPlus henplus)
Iterator complete (CommandDispatcher disp, String partialCommand, String lastWord)
Iterator complete (CommandDispatcher disp, String partialCommand, final String lastWord)
int execute (SQLSession currentSession, String cmd, String param)
String[] getCommandList ()
String getLongDescription (String cmd)
String getShortDescription ()
String getSynopsis (String cmd)
boolean isComplete (String command)
void load ()
boolean participateInCommandCompletion ()
boolean requiresValidSession (String cmd)
void shutdown ()

Static Public Attributes

static final int EXEC_FAILED = 2
static final int SUCCESS = 0
static final int SYNTAX_ERROR = 1

Protected Member Functions

int argumentCount (String command)

Static Package Functions

 [static initializer]

Private Member Functions

void putAlias (String alias, String value)
void removeAlias (String alias)
String stripQuotes (String value)

Private Attributes

final SortedMap _aliases
final Set _currentExecutedAliases
final CommandDispatcher _dispatcher
final HenPlus _henplus

Static Private Attributes

static final String ALIAS_FILENAME = "aliases"
static final ColumnMetaData[] DRV_META
static final boolean verbose = false

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

Generated by  Doxygen 1.6.0   Back to index