On this page
[Groovy] Interface Command
@CompileStatic
interface Command
Provides the interface required for command extensions.
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
abstract Object |
execute(List<String> args) |
|
abstract List |
getAliases() |
|
abstract jline.console.completer.Completer |
getCompleter() |
|
abstract String |
getDescription() |
|
abstract String |
getHelp() |
|
abstract boolean |
getHidden() |
|
abstract String |
getName() |
|
abstract String |
getShortcut() |
|
abstract String |
getUsage() |
Method Detail
abstract Object execute(List<String> args)
abstract List getAliases()
abstract jline.console.completer.Completer getCompleter()
abstract String getDescription()
abstract String getHelp()
abstract boolean getHidden()
abstract String getName()
abstract String getShortcut()
abstract String getUsage()
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/apache/groovy/groovysh/Command.html