public abstract class AbstractCommandHandler extends Object implements CommandHandler
Constructor and Description |
---|
AbstractCommandHandler(SqlLine sqlLine,
String[] names,
String helpText,
List<jline.console.completer.Completer> completers) |
Modifier and Type | Method and Description |
---|---|
String |
getHelpText() |
String |
getName() |
List<String> |
getNames() |
List<jline.console.completer.Completer> |
getParameterCompleters()
Returns the completers that can handle parameters.
|
String |
matches(String line)
Checks to see if the specified string can be dispatched to this
command.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public String getHelpText()
getHelpText
in interface CommandHandler
public String getName()
getName
in interface CommandHandler
public List<String> getNames()
getNames
in interface CommandHandler
public String matches(String line)
CommandHandler
matches
in interface CommandHandler
line
- The command line to checkpublic List<jline.console.completer.Completer> getParameterCompleters()
CommandHandler
getParameterCompleters
in interface CommandHandler
Copyright © 2002–2018 Julian Hyde. All rights reserved.