| java.lang.Object henplus.AbstractCommand
All known Subclasses: henplus.SamplePlugin, henplus.commands.DriverCommand, henplus.commands.ListUserObjectsCommand, henplus.commands.ImportCommand, henplus.commands.SpoolCommand, henplus.commands.EchoCommand, henplus.commands.SQLCommand, henplus.commands.ExportCommand, henplus.commands.TreeCommand, henplus.commands.SystemInfoCommand, henplus.commands.LoadCommand, henplus.plugins.tablediff.TableDiffCommand, henplus.commands.properties.AbstractPropertyCommand, henplus.commands.HelpCommand, henplus.commands.AliasCommand, henplus.commands.ConnectCommand, henplus.commands.DescribeCommand, henplus.commands.SetCommand, henplus.commands.KeyBindCommand, henplus.commands.ExitCommand, henplus.commands.DumpCommand, henplus.commands.AboutCommand, henplus.commands.StatusCommand, henplus.commands.PluginCommand, henplus.commands.ShellCommand,
AbstractCommand | abstract public class AbstractCommand implements Command(Code) | | 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.
author: Henner Zeller |
argumentCount | protected int argumentCount(String command)(Code) | | convenience method: returns the number of elements in this
string, separated by whitespace.
|
getOptions | protected Options getOptions()(Code) | | |
getShortDescription | public String getShortDescription()(Code) | | |
handleCommandline | public void handleCommandline(CommandLine line)(Code) | | |
participateInCommandCompletion | public boolean participateInCommandCompletion()(Code) | | |
registerOptions | public void registerOptions(Options r)(Code) | | Override this method if you want to register command-specific options
Parameters: r - |
requiresValidSession | public boolean requiresValidSession(String cmd)(Code) | | |
setOptions | public void setOptions(Options options)(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|