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

henplus::AbstractCommand Class Reference

Inheritance diagram for henplus::AbstractCommand:

henplus::Command henplus::commands::AboutCommand henplus::commands::AliasCommand henplus::commands::ConnectCommand henplus::commands::DescribeCommand henplus::commands::DriverCommand henplus::commands::DumpCommand henplus::commands::EchoCommand henplus::commands::ExitCommand henplus::commands::ExportCommand henplus::commands::HelpCommand henplus::commands::ImportCommand henplus::commands::ListUserObjectsCommand henplus::commands::LoadCommand henplus::commands::PluginCommand henplus::commands::properties::AbstractPropertyCommand henplus::commands::SetCommand henplus::commands::ShellCommand henplus::commands::SpoolCommand henplus::commands::SQLCommand henplus::commands::StatusCommand henplus::commands::TreeCommand henplus::SamplePlugin

List of all members.

Detailed Description

Implementation of a Command with default settings. Override what is necessary in your Command. It makes sense to derive plug-ins from this AbstractCommand - this makes the plug-in more robust with regard to newly added methods.
Henner Zeller

Definition at line 19 of file AbstractCommand.java.

Public Member Functions

Iterator complete (CommandDispatcher disp, String partialCommand, String lastWord)
int execute (SQLSession session, String command, String parameters)
String[] getCommandList ()
String getLongDescription (String cmd)
String getShortDescription ()
String getSynopsis (String cmd)
boolean isComplete (String command)
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)

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

Generated by  Doxygen 1.6.0   Back to index