[Groovy] Class AliasCommand

  • org.codehaus.groovy.tools.shell.commands.AliasCommand
@Deprecated
class AliasCommand
extends CommandSupport

The 'alias' command.

Field Summary

Fields
Modifiers Name Description
static String COMMAND_NAME
Inherited fields
Fields inherited from class Fields
class CommandSupport NEWLINE, io, log, messages, registry, shell

Constructor Summary

Constructors
Constructor and description
AliasCommand (Groovysh shell)

Methods Summary

Methods
Type Params Return Type Name and description
protected List<Completer> createCompleters()
Object execute(List<String> args)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class CommandSupport alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHidden, getHistory, getImports, getName, getShortcut, getUsage, getVariables

Field Detail

public static final String COMMAND_NAME

Constructor Detail

AliasCommand(Groovysh shell)

Method Detail

@Override protected List<Completer> createCompleters()

@Override Object execute(List<String> args)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/tools/shell/commands/AliasCommand.html