public class DatasourceMetadataCommand extends java.lang.Object implements TerminalCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
DatasourceMetadataCommand(<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 DatasourceMetadataCommand(<any> datasourceServiceProvider, <any> terminalServiceProvider)
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=DatasourcesMessages.class,name="datasourceMetadata",description="commandDatasourceMetadata_description",nonOptArgs={@NonOptArgument(name="datasource",description="commandDatasourceMetadata_datasource",mandatory=true),@NonOptArgument(name="methodName",description="commandDatasourceMetadata_methodName",mandatory=true),@NonOptArgument(name="arg",description="commandDatasourceMetadata_methodArg",varArgs=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