public class TableExistsCommand extends java.lang.Object implements TerminalCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
TableExistsCommand(<any> datasourceServiceProvider,
<any> terminalServiceProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addAutoCompletEntries(AutocompleteHelper autocompleteHelper,
TerminalSession session) |
boolean |
consumes(CommandParser parser,
TerminalSession session) |
CommandResult |
execute(CommandParser parser,
TerminalSession session) |
public static final java.lang.String BASE_COMMAND
public TableExistsCommand(<any> datasourceServiceProvider, <any> terminalServiceProvider)
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=DatasourcesMessages.class,name="tableExists",description="commandTableExists_description",nonOptArgs={@NonOptArgument(name="datasource",description="commandTableExists_datasource",mandatory=true),@NonOptArgument(name="table",description="commandTableExists_table",mandatory=true)}) public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException
execute
in interface TerminalCommandHook
TerminalException
public void addAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session)
addAutoCompletEntries
in interface TerminalCommandHook