public class ReflectiveCommandHandler extends AbstractCommandHandler
Command implementation that uses reflection to
determine the method to dispatch the command.lastException| Constructor and Description |
|---|
ReflectiveCommandHandler(BeeLine beeLine,
String[] cmds,
jline.console.completer.Completer[] completer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(String line) |
getHelpText, getLastException, getName, getNames, getParameterCompleters, matches, setParameterCompleterspublic ReflectiveCommandHandler(BeeLine beeLine, String[] cmds, jline.console.completer.Completer[] completer)
beeLine - cmds - 'cmds' is an array of alternative names for the same command. And that the
first one is always chosen for display purposes and to lookup help
documentation from BeeLine.properties file.completer - public boolean execute(String line)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.