public class ColumnsExistCommand extends java.lang.Object implements TerminalCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
ColumnsExistCommand(<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 ColumnsExistCommand(<any> datasourceServiceProvider, <any> terminalServiceProvider)
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=DatasourcesMessages.class,name="columnsExist",description="commandColumnsExist_description",nonOptArgs={@NonOptArgument(name="datasource",description="commandColumnsExist_datasource",mandatory=true),@NonOptArgument(name="table",description="commandColumnsExist_table",mandatory=true),@NonOptArgument(name="columns",description="commandColumnsExist_columns",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