Overview | Package | Class | Deprecated | Index | Help
| Groovy 1.7.0
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## org.codehaus.groovy.tools.shell
Class CommandAlias

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

    class CommandAlias
    extends CommandSupport

Provides simple command aliasing.

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

author:
  Jason Dillon

Property Summary
`String` | `targetName`

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, getHistory, getImports, getVariables

Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Property Detail

### targetName

    final String targetName

Constructor Detail

### CommandAlias

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

Method Detail

### createCompletors

    protected List createCompletors()

### execute

    Object execute(List args)

### getDescription

    String getDescription()

### getHelp

    String getHelp()

### getHidden

    boolean getHidden()

### getTarget

    Command getTarget()

### getUsage

    String getUsage()

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