Groovy 1.7.2

org.codehaus.groovy.tools.shell
Class CommandAlias

java.lang.Object
  org.codehaus.groovy.tools.shell.CommandSupport
      org.codehaus.groovy.tools.shell.CommandAlias

public class CommandAlias
extends CommandSupport

Provides simple command aliasing.

version:
$Id: CommandAlias.groovy 7598 2007-08-23 03:46:59Z user57 $
author:
Jason Dillon


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

CommandAlias

public CommandAlias(Shell shell, String name, String shortcut, String target)


 
Method Detail

createCompletors

protected List createCompletors()


execute

public Object execute(List args)


getDescription

public String getDescription()


getHelp

public String getHelp()


getHidden

public boolean getHidden()


getTarget

public Command getTarget()


getUsage

public String getUsage()


 

Copyright © 2003-2010 The Codehaus. All rights reserved.