public class HqlTerminalCommand extends java.lang.Object implements TerminalCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
HqlTerminalCommand(<any> entityManagerProvider,
TerminalService terminalService) |
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 HqlTerminalCommand(<any> entityManagerProvider, TerminalService terminalService)
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=TerminalMessages.class, name="hql", description="commandHql_description", args=@Argument(flag="w",description="commandHql_wFlag",mandatory=false), nonOptArgs=@NonOptArgument(name="query",description="commandHql_hqlArgument",mandatory=true)) public CommandResult execute(CommandParser parser, TerminalSession session)
execute
in interface TerminalCommandHook
public void addAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session)
addAutoCompletEntries
in interface TerminalCommandHook