|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.tools.shell.CommandSupport org.codehaus.groovy.tools.shell.CommandAlias
class CommandAlias extends CommandSupport
Provides simple command aliasing.
Field Summary |
---|
Fields inherited from class CommandSupport | |
---|---|
NEWLINE, io, log, messages, registry, shell |
Property Summary | |
---|---|
String |
targetName
|
Constructor Summary | |
CommandAlias(Groovysh shell, String name, String shortcut, String target)
|
Method Summary | |
---|---|
protected List
|
createCompletors()
|
Object
|
execute(List args)
|
String
|
getDescription()
|
String
|
getHelp()
|
boolean
|
getHidden()
|
Command
|
getTarget()
|
String
|
getUsage()
|
Methods inherited from class CommandSupport | |
---|---|
alias, assertNoArguments, createCompleters, fail, fail, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHistory, getImports, getUsage, getVariables |
Property Detail |
---|
final String targetName
Constructor Detail |
---|
CommandAlias(Groovysh shell, String name, String shortcut, String target)
Method Detail |
---|
protected List createCompletors()
Object execute(List args)
String getDescription()
String getHelp()
boolean getHidden()
Command getTarget()
String getUsage()
Copyright © 2003-2013 The Codehaus. All rights reserved.