|
Groovy 1.7.2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.tools.shell.CommandSupport
org.codehaus.groovy.tools.shell.CommandAlias
public class CommandAlias extends CommandSupport
Provides simple command aliasing.
Constructor Summary | |
CommandAlias(Shell 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, createCompletors, fail, fail, getBinding, getBuffer, getBuffers, getClassLoader, getCompletor, getDescription, getHelp, getHistory, getImports, getUsage, getVariables |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
public CommandAlias(Shell shell, String name, String shortcut, String target)
Method Detail |
---|
protected List createCompletors()
public Object execute(List args)
public String getDescription()
public String getHelp()
public boolean getHidden()
public Command getTarget()
public String getUsage()
Copyright © 2003-2010 The Codehaus. All rights reserved.