| nl.improved.sqlclient.commands.Command
All known Subclasses: nl.improved.sqlclient.commands.InfoCommand, nl.improved.sqlclient.commands.DescCommand, nl.improved.sqlclient.commands.ShowCommand,
Command | public interface Command (Code) | | Implement this interface to add a specific command to the sql client.
|
abort | boolean abort()(Code) | | Attempt to abort the command and return true if succeeded.
true if abort succeeded |
backgroundProcessSupported | boolean backgroundProcessSupported()(Code) | | Return true if the command (instance) supports to be started in the background.
true if the command (instance) supports to be started in the background. |
execute | CharSequence execute(SQLCommand cmd)(Code) | | Execute a command.
Parameters: command - the command to execute a readable result so the user knows what happened |
getCommandString | CharSequence getCommandString()(Code) | | Return the command key (like quit, help, connect) that should show up in the help list.
the command key that should show up in the help list. |
getHelp | CharSequence getHelp()(Code) | | Returns a explenation string of how to use this command.
a explenation string of how to use this command. |
getTabCompletionInfo | TabCompletionInfo getTabCompletionInfo(SQLCommand commandInfo, Point commandPoint)(Code) | | Returns some tab completion info for the specified command.
Parameters: commandInfo - the command lines Parameters: commandPoint - the cursor position some tab completion info for the specified command. |
|
|