Groovy 2.2.0

org.codehaus.groovy.tools.shell
[Groovy] 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.

Authors:
Jason Dillon
Version:
\$Id\$


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

targetName

final String targetName


 
Constructor Detail

CommandAlias

CommandAlias(Groovysh 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-2013 The Codehaus. All rights reserved.