public class InfoDatasourceSubcommand extends java.lang.Object implements InfoSubcommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
InfoDatasourceSubcommand(<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) |
java.lang.String |
getBaseCommand() |
public static final java.lang.String BASE_COMMAND
public InfoDatasourceSubcommand(<any> datasourceServiceProvider, <any> terminalServiceProvider)
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
public java.lang.String getBaseCommand()
getBaseCommand
in interface SubCommand
@CliHelpMessage(messageClass=TerminalMessages.class, name="datasource", description="commandInfoDatasource_desc", nonOptArgs=@NonOptArgument(name="datasource",description="commandInfoDatasource_datasource",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